What is the output of the program given below
#include<stdio.h>
main()
{
char i=0;
for(;i>=0;i++) ;
printf("%d\n",i);
}
Answers were Sorted based on User's Feedback
Answer / madhu
127.As i is a char the last digit would be 127,so the loop
stops at that point.
I crosschecked it writing a program.
| Is This Answer Correct ? | 1 Yes | 9 No |
What is memmove?
WRITE A C PROGRAM TO FIND SECOND BIGGEST VALUE FROM THE GIVEN VALUES
if a person is buying coconuts of Rs10,and then sell that coconuts of Rs9,with the loss of one rupee.After that the person became a millaniore.how?
write a programme to convert temperature from farenheit to celcius?
what will be maximum number of comparisons when number of elements are given?
How can you find out how much memory is available?
Do you know the purpose of 'register' keyword?
What is the deal on sprintf_s return value?
c program to arrange digits in a no in ascending and descending order
Write a function in c to find the area of a triangle whose length of three sides is given.
could u able to tell about suresoft technical session
What are the difference between a free-standing and a hosted environment?