What is the output of the program given below
#include<stdio.h>
main()
{
char i=0;
for(;i>=0;i++) ;
printf("%d\n",i);
}
Answers were Sorted based on User's Feedback
Answer / sakthi
the function should not return any value.
or
-113
| Is This Answer Correct ? | 1 Yes | 3 No |
Answer / tasneemuddin
It will print no from 0 to 32767.
Like :
0
1
2
3
.
.
.
.
32767
| Is This Answer Correct ? | 3 Yes | 6 No |
Answer / 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 |
When can a far pointer be used?
Can we declare variables anywhere in c?
Where static variables are stored in c?
what does ‘segmentation violation’ mean?
What does 1f stand for?
How can we see the Expanded source code and compiled code for our source program in C?
Write a program that an operator and two operands read from input operand operator on the implementation and results display.
What is the use of keyword VOLATILE in C?
how to introdu5ce my self in serco
what is y value of the code if input x=10 y=5; if (x==10) else if(x==9) elae y=8; a.9 b.8 c.6 d.7
What are the different types of C instructions?
Write code for atoi(x) where x is hexadecimal string.