fork download
  1. #include<stdio.h>
  2. int main()
  3. {
  4. int a[] = { 11, 22 };
  5. int x;
  6. int *p = a;
  7. x = *p++;
  8. printf( " *p = %d\n",*p );
  9. printf( " x = %d",x );
  10. }
Runtime error #stdin #stdout 0s 2052KB
stdin
Standard input is empty
stdout
 *p = 22
 x = 11