fork download
  1. #include <stdio.h>
  2.  
  3. int main()
  4. {
  5. const char *p1 = "abcdefg";
  6. const char *p2 = p1;
  7.  
  8. printf("*(p1++) = %c\n", *(p1++));
  9. printf("*p2++ = %c\n", *p2++);
  10.  
  11. return 0;
  12. }
  13.  
Success #stdin #stdout 0s 1788KB
stdin
Standard input is empty
stdout
*(p1++) = a
*p2++ = a