Question: What will be output if you will compile and execute the following c code?#include<stdio.h>
int main(){
int array[3]={5};
int i;
for(i=0;i<=2;i++)
printf("%d ",array[i]);
return 0;
}
A
B
C
D
E
5 garbage garbage
B
5 0 0
C
5 null null
D
Compiler error
E
None
Note: Not available