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
Is c easier than java?
Explain what is the purpose of "extern" keyword in a function declaration?
What are different types of pointers?
Why isnt any of this standardized in c?
Write a program to generate the Fibinocci Series
What is c language & why it is used?
What is property type c?
Is c programming hard?
What are the keywords in c?
How can I ensure that integer arithmetic doesnt overflow?
what are bit fields? What is the use of bit fields in a structure declaration?
What is difference between stdio h and conio h?
What is static identifier?
What is a newline escape sequence?
"%u" unsigned integer print the a) address of variable b) value of variable c) name of a variable d) none of the above