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 / sakthi
the function should not return any value.
or
-113
| Is This Answer Correct ? | 1 Yes | 3 No |
Post New Answer View All Answers
What is #line used for?
Can you return null in c?
What is switch in c?
Differentiate between null and void pointers.
Describe static function with its usage?
What is the use of clrscr?
I came across some code that puts a (void) cast before each call to printf. Why?
Is stack a keyword in c?
What are 3 types of structures?
What is the right type to use for boolean values in c? Is there a standard type? Should I use #defines or enums for the true and false values?
Differentiate call by value and call by reference?
Where are the auto variables stored?
write a programe to accept any two number and check the following condition using goto state ment.if a>b,print a & find whether it is even or odd and then print.and a
When we use void main and int main?
Why should I use standard library functions instead of writing my own?