fork download
  1. #include <stdio.h>
  2. int main()
  3. {
  4. int arr[] = {1, 2, 3, 4, 5};
  5. int *p = arr;
  6. ++*p;
  7. p += 2;
  8. printf("%d", *p);
  9. printf("%d", arr[0]);
  10. return 0;
  11. }
Success #stdin #stdout 0s 2008KB
stdin
Standard input is empty
stdout
32