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

value = 0xabcd;
for (loop = 1; (value >> 1) & 1 | loop & 1; loop++) {
foo();
if (loop & 1)
value >>= 1;
}

how many times is foo() executed?

Answer Posted / ismail

its not 5 its will be 7 !!!!!

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Should I learn data structures in c or python?

996


When should structures be passed by values or by references?

1017


What is indirection?

1058


Why is a semicolon (;) put at the end of every program statement?

1051


What is the purpose of the statement: strcat (S2, S1)?

1136


How can I prevent another program from modifying part of a file that I am modifying?

1025


How many types of operators are there in c?

1011


Explain what is a pragma?

1021


A collection of functions,calls,subroutines or other data a) library b) header files c) set of files d) textfiles

1150


What are extern variables in c?

968


a formula,a series of steps,or well defined set of rules for solving a problem a) algorithem b) program c) erdiagram d) compiler

1046


program to find out date after adding 31 days to a date in the month of febraury also consider the leap year

3049


hi to every one .. how to view table pool after creating the pooled table? plz help me.. if any knows abt this ..

1885


Is the exit() function same as the return statement? Explain.

1054


Explain enumerated types in c language?

1013