0
What is wrong with this Code??
#include<iostream> using namespace std; int main() { int crash[10], i; for(i=0; i<100; i++) { crash[i] = i; } cout<<"Done"; }
4 Respostas
+ 3
You're trying to fill an array with length of 10 with 100 items
+ 2
Mean I should use crash[100] instead of 10
+ 2
Naveed Ahmad Shah, yes
0
I got it