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