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
What is an expression?
What is the c value paradox and how is it explained?
How can I manipulate individual bits?
How many keywords (reserve words) are in c?
Write a program to implement a round robin scheduler and calculate the average waiting time.Arrival time, burst time, time quantum, and no. of processes should be the inputs.
the question is that what you have been doing all these periods (one year gap)
What is infinite loop?
Explain what is a 'null pointer assignment' error? Explain what are bus errors, memory faults, and core dumps?
What will be the outcome of the following conditional statement if the value of variable s is 10?
What does & mean in scanf?
How a string is stored in c?
What is a structural principle?
Explain is it valid to address one element beyond the end of an array?
What is the size of a union variable?
what is the format specifier for printing a pointer value?