fork download
  1. #include <stdio.h>
  2. void f(char**);
  3. int main()
  4. {
  5. char *argv[] = { "ab", "cd", "ef", "gh", "ij", "kl" };
  6. f(argv);
  7. return 0;
  8. }
  9. void f(char **p)
  10. {
  11. char *t;
  12. t = (p += sizeof(int))[-1];
  13. printf("%s\n", t);
  14. }
Success #stdin #stdout 0s 4400KB
stdin
Standard input is empty
stdout
gh