fork download
  1. #include <stdio.h>
  2. void f(int a[]) {
  3. for (int i = 0; i < 10; i++) printf("%d\n", a[i]);
  4. }
  5. int main() {
  6. f((int[]){1, 2, 3, 4});
  7. return 0;
  8. }
  9. /* end */
  10.  
Success #stdin #stdout 0s 1832KB
stdin
Standard input is empty
stdout
1
2
3
4
134513888
0
-1075398584
-1217905082
1
-1075398540