0
#include<stdio.h> void main(){ int i; for(i=0;i<5;i++){ int x=0; printf("%d",x); x++; } }
it's in C language what is the output of above code please explain.
1 Answer
0
00000
for each time the loop will run.. x is reinitialized to 0.. so it will print 0