Q.

What is output of below program?
int main()
{
int i;
for(i=0; i<5; ++i++)
{
printf("Hello");
}
return 0;
}

A. Hello is printed 5 times
B. Compilation Error
C. Hello is printed 2 times
D. Hello is printed 3 times
Answer» B. Compilation Error
713
0
Do you find this helpful?
4

Discussion

No comments yet