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 / tasneemuddin
It will print no from 0 to 32767.
Like :
0
1
2
3
.
.
.
.
32767
Is This Answer Correct ? | 3 Yes | 6 No |
Post New Answer View All Answers
Which of these functions is safer to use : fgets(), gets()? Why?
What is identifiers in c with examples?
What is binary tree in c?
Why is void main used?
Can you please explain the difference between malloc() and calloc() function?
What is typedef?
Does c have enums?
Why c is called object oriented language?
What is the use of header?
How many types of operator or there in c?
How do I swap bytes?
How can I find the modification date of a file?
main(){char *str;scanf("%s",str);printf("%s",str); }The error in the above program is: a) Variable 'str' is not initialised b) Format control for a string is not %s c) Parameter to scanf is passed by value. It should be an address d) none
How can you find out how much memory is available?
What is 2 d array in c?