fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main()
  5. { int a[5]={20,30,40,50,60};
  6. for (int i=0; i<4; i++)
  7. { *a=*a+1;
  8. }
  9. for (int i=4; i>=0; i--)
  10. cout<<a[i];
  11. return 0;
  12. }
  13.  
Success #stdin #stdout 0s 5284KB
stdin
Standard input is empty
stdout
6050403024