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