fork(1) download
  1. #include <stdio.h>
  2.  
  3. int f(int x[5]){
  4. printf("%d\n",sizeof(x));
  5. x++;
  6. return x[0];
  7.  
  8. }
  9.  
  10. int main(void) {
  11. int y[3]={1,3,5};
  12. printf("%d",f(y));
  13. return 0;
  14. }
  15.  
Success #stdin #stdout 0s 4396KB
stdin
Standard input is empty
stdout
8
3