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 |
explain about storage of union elements.
What are the types of bitwise operator?
program for reversing a selected line word by word when multiple lines are given without using strrev
what is the full form of c language
What are the benefits of c language?
What is the use of define in c?
How can I sort a linked list?
What is your stream meaning?
N O S I E R + A S T R A L ---------------- 7 2 5 6 1 3
which of the function operator cannot be over loaded a) <= b)?: c)== d)*
10 Answers Cisco, CTS, Google, HCL, HP,
Why doesnt that code work?
IS STRUCTURES CAN BE USED WITHIN AN ARRAY?