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 / rekha

It will print 0 to 127

Is This Answer Correct ?    6 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

 write a program that will open the file, count the number of occurences of each word in the the complete works of shakespeare.  You will then tabulate this information in another file.

1732


Discuss the function of conditional operator, size of operator and comma operator with examples.

682


What is structure padding in c?

632


What is NULL pointer?

680


Explain null pointer.

625






How can I split up a string into whitespace-separated fields?

573


What is preprocessor with example?

591


Was 2000 a leap year?

635


What is s in c?

621


When should a type cast be used?

577


How can I make it pause before closing the program output window?

585


How do I copy files?

625


Where register variables are stored in c?

554


What are the types of c language?

561


What are different storage class specifiers in c?

623