fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4.  
  5. int main() {
  6. int a[1];
  7. // your code goes here
  8. cout<<"Array concept is so funny in C++"<<endl;
  9. for (int i=10; i<20;i++)
  10. a[i]=i+1;
  11.  
  12. for (int i=10; i<20;i++)
  13. cout<<a[i]<<endl;
  14. return 0;
  15. }
Success #stdin #stdout 0.01s 5276KB
stdin
Standard input is empty
stdout
Array concept is so funny in C++
20
20
20
20
20
20
20
20
20
20