int a[5];
for(int i=0;i<12;i++)
{
printf("enter element #%d: ",i);
scanf("%d",&a[i]);
}
- I expected this to give me an error, but didn't give
- It does not take the input when the value of i is 8 i.e., for the 9th element. It just jumps when i=8