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 will be the output of this program
main()
{
int i=1;
while (i<=10);
{
i++;
}
}

Answer Posted / aswini

answer will be 10.it will never execute the loop as there
is semicolon.hence directly 10 will be assigned to i.

Is This Answer Correct ?    1 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

process by which one bit patten in to another by bit wise operation is? (a) masking, (b) pruning, (c) biting, (d) chopping,

2473


Explain the meaning of keyword 'extern' in a function declaration.

1210


What is putchar() function?

1220


What is the right type to use for boolean values in c?

1086


Is linux written in c?

1084


How to write a code for reverse of string without using string functions?

2203


This is a variation of the call_me function in the previous question:call_me (myvar)int *myvar;{ *myvar += 5; }The correct way to call this function from main() will be a) call_me(myvar) b) call_me(*myvar) c) call_me(&myvar) d) expanded memory

1341


How can I determine whether a machines byte order is big-endian or little-endian?

1124


How do you redirect a standard stream?

1152


What is wrong with this declaration?

1157


show how link list can be used to repersent the following polynomial i) 5x+2

2399


Differentiate between a for loop and a while loop? What are it uses?

1236


Is file a keyword in c?

983


 write a program that will open the file, count the number of occurences of each word in the the complete works of shakespeare.  You will then tabulate this information in another file.

2284


How can I read data from data files with particular formats?

1093