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 / rani
output is
-128
| Is This Answer Correct ? | 11 Yes | 3 No |
Post New Answer View All Answers
Explain #pragma statements.
What are volatile variables in c?
What does 3 periods mean in texting?
Explain what are global variables and explain how do you declare them?
Explain how do you list a file’s date and time?
What is the use of structure padding in c?
What is a good data structure to use for storing lines of text?
What is the Purpose of 'extern' keyword in a function declaration?
disply the following menu 1.Disply 2.Copy 3.Append; as per the menu do the file operations 4.Exit
How is = symbol different from == symbol in c programming?
What is the difference between specifying a constant variable like with constant keyword and #define it? i.e what is the difference between CONSTANT FLOAT A=1.25 and #define A 1.25
Explain the difference between call by value and call by reference in c language?
Write a program to generate random numbers in c?
the maximum length of a character constant can be a) 1 character b) 8 characters c) 256 chaacters d) 125 characters
What is a scope resolution operator in c?