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