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

please give me a VIRTUSA sample palcement papers.... you will only send TECHNICAL SECTION..... that is help for me Advance Thanks........................

2094


What is difference between Structure and Unions?

1310


What are header files why are they important?

1153


What are header files in c?

1120


What are loops in c?

1065


Explain what is the difference between far and near ?

1165


What is array within structure?

1172


What is typedef example?

1259


Is it valid to address one element beyond the end of an array?

1225


If null and 0 are equivalent as null pointer constants, which should I use?

1311


the real constant in c can be expressed in which of the following forms a) fractional form only b) exponential form only c) ascii form only d) both a and b

2755


Why header file is used in c?

1156


What are the 5 types of organizational structures?

1133


What is FIFO?

1840


What is difference between %d and %i in c?

1302