fork(1) download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. int test[]= {1,2,3};
  5. int *p = test;
  6. printf("%d ", *p);
  7. printf("%d ", ++*p);
  8. printf("%d ", *p++);
  9. printf("%d ", *(p++));
  10. printf("%d ", (*p)++);
  11. printf("%d\n", *p);
  12. return 0;
  13. }
Success #stdin #stdout 0s 5280KB
stdin
1
2
10
42
11
stdout
1 2 2 2 3 4