Write the output of following.
main()
{
int i;
for(i=1;i<=5;i++);
cout<<i;
}
Answers
Answered by
0
Answer:
Originally Answered: #include<stdio. h> void main() {for (I=1;I<=5;I++); printf ("%d\n", i);} What is the output of this program? The out put will be 6.
Similar questions