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
How many types of functions are there in c?
What are the types of i/o functions?
write a c program for swapping two strings using pointer
How do you use a 'Local Block'?
What is console in c language?
What is d scanf?
Explain the properties of union.
What is difference between structure and union in c?
What is the main difference between calloc () and malloc ()?
write a c program to print the next of a particular no without using the arithmetic operator or looping statements?
Explain what does the characters 'r' and 'w' mean when writing programs that will make use of files?
Can include files be nested? How many levels deep can include files be nested?
i have a written test for microland please give me test pattern
Tell me when is a void pointer used?
Simplify the program segment if X = B then C ← true else C ← false