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 does c mean in standard form?
Is c is a middle level language?
What is a 'null pointer assignment' error?
how to write optimum code to divide a 50 digit number with a 25 digit number??
What is ponter?
Explain what is the difference between far and near ?
What does it mean when a pointer is used in an if statement?
Device an algorithm for weiler-atherton polygon clipping, where the clipping window can be any specified polygon
write a program to convert a expression in polish notation(postfix) to inline(normal) something like make 723+* (2+3) x 7 (not sure) just check out its mainly printing expression in postfix form to infix.
What is spaghetti programming?
What does a function declared as pascal do differently?
What are the applications of c language?
What is the value of h?
What is clrscr in c?
What is c mainly used for?