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 do mean by network ?
Is file a keyword in c?
What is the size of array float a(10)?
how to construct a simulator keeping the logical boolean gates in c
Explain how can I avoid the abort, retry, fail messages?
What are the types of variables in c?
What is null pointer constant?
Why doesnt this code work?
The number of bytes of storage occupied by short, int and long are a) 2, 2 and 4 b) 2, 4 and 4 c) 4, 4 and 4 d) none
hi send me sample aptitude papers of cts?
What is void pointers in c?
What is %s and %d in c?
What is the explanation for modular programming?
"C" language developed by "Dennis Ritchie" at AT & T. his remarks are a) too general, too abstract b) could deal with only specific problems c) lost generality of BCPL and B restored d) no remarks
pgm to find any error in linklist(in single linklist check whether any node points any of previous nodes instead of next node)