fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. int b=3;
  6. int arr[]={6,7,8,9,10};
  7. int *ptr=arr;
  8. *(ptr++)+=123;
  9. printf("%d,%d\n",*ptr,*(++ptr));
  10. return 0;
  11. }
Success #stdin #stdout 0s 15240KB
stdin
Standard input is empty
stdout
8,8