fork download
  1. #include <stdio.h>
  2.  
  3. void fun(char *a[]){
  4. printf("%s",*++a);
  5. }
  6.  
  7. int main(void) {
  8. // your code goes here
  9. char *x[3];
  10. x[0]="abcd";
  11. x[1]="abcdef";
  12. fun(x);
  13. return 0;
  14. }
  15.  
Success #stdin #stdout 0s 2248KB
stdin
Standard input is empty
stdout
abcdef