fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. int a[]={0,5,10,15};
  6. int* i2=a+2;
  7. int b=*i2++;
  8. cout << b << " " << *i2;
  9. return 0;
  10. }
Success #stdin #stdout 0.01s 5392KB
stdin
Standard input is empty
stdout
10 15