What is the output of the program given below
#include<stdio.h>
main()
{
char i=0;
for(;i>=0;i++) ;
printf("%d\n",i);
}
Answer Posted / ananth
The loop never gets terminated as it runs infinite. So the
printf statement will not trigger & no o/p is produced.
Is This Answer Correct ? | 11 Yes | 19 No |
Post New Answer View All Answers
What is an lvalue?
i got 75% in all semester am i eligible for your company
If a variable is a pointer to a structure, then which operator is used to access data members of the structure through the pointer variable?
What is binary tree in c?
Explain what is gets() function?
What is context in c?
pierrot's divisor program using c or c++ code
What is typedf?
What is non linear data structure in c?
Why is it that not all header files are declared in every C program?
`write a program to display the recomended action depends on a color of trafic light using nested if statments
What is #include stdlib h?
What is strcpy() function?
Some coders debug their programs by placing comment symbols on some codes instead of deleting it. How does this aid in debugging?
How can I rethow can I return a sequence of random numbers which dont repeat at all?