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

The loop never gets terminated as it runs infinite. So the
printf statement will not trigger & no o/p is produced.

Is This Answer Correct ?    11 Yes 19 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is c easier than java?

1004


Explain what is the purpose of "extern" keyword in a function declaration?

1035


What are different types of pointers?

1019


Why isnt any of this standardized in c?

1027


Write a program to generate the Fibinocci Series

1174


What is c language & why it is used?

1048


What is property type c?

1051


Is c programming hard?

981


What are the keywords in c?

1088


How can I ensure that integer arithmetic doesnt overflow?

1104


what are bit fields? What is the use of bit fields in a structure declaration?

2065


What is difference between stdio h and conio h?

1329


What is static identifier?

1180


What is a newline escape sequence?

1062


"%u" unsigned integer print the a) address of variable b) value of variable c) name of a variable d) none of the above

991