fork download
  1. #include <stdio.h>
  2.  
  3. int func(int *arr)
  4. {
  5. printf("Value %d\r\n", *arr);
  6. }
  7.  
  8. int main()
  9. {
  10. int *array[2] = {0, 1};
  11.  
  12. func(&array[0]);
  13. func(&array[1]);
  14. }
  15.  
Success #stdin #stdout 0s 5312KB
stdin
Standard input is empty
stdout
Value 0
Value 1