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

How can I discover how many arguments a function was actually called with?

1066


Why we use break in c?

1003


List the variables are used for writing doubly linked list program.

2030


what is the structure pointer?

2121


Why is structure padding done in c?

1129


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

1084


How do you determine whether to use a stream function or a low-level function?

1122


How do you define a function?

1021


What is pointers in c?

1112


Why does notstrcat(string, "!");Work?

1132


I need a sort of an approximate strcmp routine?

1026


all c language question

2432


typedef struct{ char *; nodeptr next; } * nodeptr ; What does nodeptr stand for?

1637


Function which gives a pointer to a binary trees const an integer value at each code, return function of all the nodes in binary tree.?

1067


Explain Function Pointer?

1163