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


Please Help Members By Posting Answers For Below Questions

Can a pointer be static?

629


what is the role you expect in software industry?

1660


What is methods in c?

649


What does malloc () calloc () realloc () free () do?

563


What is static volatile in c?

580






What is the difference between #include and #include 'file' ?

610


Explain how are 16- and 32-bit numbers stored?

787


Why main is used in c?

593


What is the advantage of c?

613


pgm to find any error in linklist(in single linklist check whether any node points any of previous nodes instead of next node)

2204


a function gets called when the function name is followed by a a) semicolon (;) b) period(.) c) ! d) none of the above

877


Why should I use standard library functions instead of writing my own?

676


What is unary operator?

662


Where local variables are stored in c?

558


Create a structure to specify data on students given below: Roll number, Name, Department, Course, Year of joining Assume that there are not more than 450 students in the college. 1.write a function to print names of all students who joined in a particular year 2.write a function to print the data of a student whose roll number is given

2523