fork(2) download
  1. #include <stdio.h>
  2.  
  3. void func(int arg[5])
  4. {
  5. int other[5];
  6. printf("sizeof(arg) = %zu\n", sizeof arg);
  7. printf("sizeof(other) = %zu\n", sizeof other);
  8. }
  9.  
  10. int main(void)
  11. {
  12. int arr[5] = { 0 };
  13. func(arr);
  14. return 0;
  15. }
  16.  
Success #stdin #stdout 0s 2292KB
stdin
Standard input is empty
stdout
sizeof(arg) = 4
sizeof(other) = 20