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 / kartik

how it can execute 5 times

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Write a program which returns the first non repetitive character in the string?

1127


How can a program be made to print the name of a source file where an error occurs?

1227


Why should I prototype a function?

1201


Is it better to use malloc() or calloc()?

1118


What is use of #include in c?

1170


Explain is it better to use a pointer to navigate an array of values, or is it better to use a subscripted array name?

1222


What was noalias and what ever happened to it?

1048


Explain what is the difference between far and near ?

1112


What is meant by type casting?

1054


The difference between printf and fprintf is ?

1290


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

1218


Explain low-order bytes.

1039


What is the use of void pointer and null pointer in c language?

1127


What should malloc() do?

1173


Why do we use stdio h and conio h?

1093