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 |
struct node { int *a; char *b; char array[12]; }; struct node m,*n; assign the value in *a,*b,char array[12]
write a program fibonacci series and palindrome program in c
0 Answers Aditi Placement Service,
create a C program that displays one z,two y's,three x's until twenty six A's. plzz answer i need it tomorrow.
How can you read a directory in a C program?
write a function which accept two numbers from main() and interchange them using pointers?
What are the functions to open and close file in c language?
the expression a=30*1000+2768; evalutes to a) 32768 b) -32768 c) 113040 d) 0
write a program to interchange the value between two variable without using loop
Why is struct padding needed?
What are the advantages of Macro over function?
When can a far pointer be used?
Hai what is the different types of versions and their differences