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. }
  10. for (int i=4; i>=0; i--)
  11. cout<<a[i];
  12. return 0;
  13. }
  14.  
Success #stdin #stdout 0s 5284KB
stdin
Standard input is empty
stdout
6050403024