Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

What is #line used for?

1024


Can you return null in c?

1161


What is switch in c?

1086


Differentiate between null and void pointers.

1166


Describe static function with its usage?

1206


What is the use of clrscr?

1103


I came across some code that puts a (void) cast before each call to printf. Why?

1218


Is stack a keyword in c?

1078


What are 3 types of structures?

1063


What is the right type to use for boolean values in c? Is there a standard type? Should I use #defines or enums for the true and false values?

1056


Differentiate call by value and call by reference?

960


Where are the auto variables stored?

1144


write a programe to accept any two number and check the following condition using goto state ment.if a>b,print a & find whether it is even or odd and then print.and a

1945


When we use void main and int main?

1078


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

1268