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 display a percentage-done indication that updates itself in place, or show one of those twirling baton progress indicators?

990


Can a variable be both constant and volatile?

1070


Using functions, write a program that multiplies two arrays. Use the following functions: - Function ReadArray - Function MultiplyArrays - Function DisplayArrays

2315


Who developed c language?

1053


Can we declare a function inside a function in c?

1006


What is the difference between int main and void main in c?

1118


Is c weakly typed?

980


How to delete a node from linked list w/o using collectons?

2741


How can I call system when parameters (filenames, etc.) Of the executed command arent known until run time?

1046


The statement, int(*x[]) () what does in indicate?

1102


in iso what are the common technological language?

2065


What is the scope of an external variable in c?

1013


In which layer of the network datastructure format change is done

1847


Is exit(status) truly equivalent to returning the same status from main?

1025


What is assignment operator?

1023