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...

int i =10
main()
{
int i =20,n;
for(n=0;n<=i;)
{
int i=10
i++;
}
printf("%d", i);

Answer Posted / vignesh1988i

it will not print i value at all , since the loop is always
true for all cases. since the termination condition is
depending upon n&i,always n<=i, what ever possibe positive
value greater than zero ,it may be.

Is This Answer Correct ?    5 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does %d do?

1286


Which header file is used for clrscr?

1063


How can I send mail from within a c program?

1037


Can I initialize unions?

1049


What is pass by reference in functions?

851


Is there any possibility to create customized header file with c programming language?

1067


If you know then define #pragma?

1112


What are the salient features of c languages?

1101


Is it possible to use curly brackets ({}) to enclose single line code in c program?

1325


which is conditional construct a) if statement b) switch statement c) while/for d) goto

1225


How can I invoke another program (a standalone executable, or an operating system command) from within a c program?

1218


Can a program have two main functions?

1135


What is the function of multilevel pointer in c?

1087


What is the use of pointers in C?

1085


How can I change the size of the dynamically allocated array?

1154