What will be the output? #include
int main()
{
int i;
for (i=0;i<5;i++)
{
int i=10;
printf("%d",i);
i++;
}
return 0;
}
a)1 0 1 1 1 2 1 3 1 4
b)0 1 2 3 4
c)1 0 1 0 1 0 1 0 1 0
d)compilation error
Answers
Answered by
1
Answer:
compilation error
Explanation:
as i declared two times
Similar questions