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

which is the easy way to divide any integer by 2?

Answer Posted / rahul

int i = 10;
i = i >> 1;

Is This Answer Correct ?    15 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is & in c++ function?

1024


Specify some guidelines that should be followed while overloading operators?

1163


What is format for defining a structure?

1048


What does extern mean in a function declaration in c++?

1171


Does c++ have arraylist?

983


What is stl containers in c++?

1018


Explain Memory Allocation in C/C++ ?

1042


Can you write a function similar to printf()?

1097


What does new do in c++?

1042


What do you mean by “this” pointer?

1058


what is data encapsulation in C++?

1025


If a base class declares a function to be virtual, and a derived class does not use the term virtual when overriding that class, is it still virtual when inherited by a third-generation class?

1000


an operation between an integer and real always yeilds a) integer result b) real result c) float result

1132


write a corrected statement in c++ so that the statement will work properly. x = y = z + 3a;

1851


Explain all the C++ concepts using examples.

1164