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

How long does this loop run:

for(int x=0; x=3; x++)
a) Never
b) Three times
c) Forever

Answer Posted / sur

never..
because initially condition is true,
and x is false, so it will comes out of loop.

Is This Answer Correct ?    10 Yes 23 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Function can be overloaded based on the parameter which is a value or a reference. Explain if the statement is true.

1123


Is C++ case sensitive a) False b) Depends on implementation c) True

1084


Which software is used for c++ programming?

1086


Why do we use structure in c++?

1083


What is linked list in c++?

1136


How do you print a string on the printer?

1040


Which function should be used to free the memory allocated by calloc()?

1028


Why is c++ a mid-level programming language?

1041


Write a program which is required to process the time of a clock in hours and minutes, entered from the keyboard. With this program, there are two requirements for any data entered by a user: 1. The data must be of the correct type (in this case, two ints). 2. The data must be in the correct range: this means that, for the minutes, negative numbers and any number above 59 must be rejected; for the hours, negative numbers and any number above 23 must be rejected. Output error message for invalid data input. Output the time one and a half hour after the time input. i.e. Hour: 22 Min: 32 One and a half hour after 22:32 is 00:02

1957


How can you say that a template is better than a base class?

1073


Explain the use of this pointer?

1158


Explain class invariant.

1069


Const char *p , char const *p What is the difference between the above two?

1218


What are references in c++?

1142


what is a reference variable in C++?

1243