fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. int age1=70,age2=80,age3=90;
  6. int age[3]={70,80,90};
  7.  
  8. cout<<age[2];
  9. return 0;
  10. }
  11.  
Success #stdin #stdout 0.01s 5272KB
stdin
Standard input is empty
stdout
70 80 90