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 / rajendra.p (honeywell)
-128 is correct answer
| Is This Answer Correct ? | 2 Yes | 4 No |
Post New Answer View All Answers
#include
Is it acceptable to declare/define a variable in a c header?
write a c program in such a way that if we enter the today date the output should be next day's date.
Give the rules for variable declaration?
What does s c mean in text?
Explain the use of keyword 'register' with respect to variables.
A global variable when referred to in another file is declared as this a) local variable b) external variable c) constant d) pointers
Tell us bitwise shift operators?
Why is void main used?
What are the features of c language?
What does the c in ctime mean?
What are the features of c languages?
What is the difference between struct and union in C?
How to declare pointer variables?
What is the difference between declaring a variable by constant keyword and #define ing that variable?