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

Explain mutable storage class specifier.

1092


What is void pointer in c++ with example?

1100


Is it possible for a member function to use delete this?

1081


What is Destructor in C++?

1194


How we can differentiate between a pre and post increment operators during overloading?

1107


Which is not a valid keyword a) public b) protected c) guarded

1264


What is the difference between while and do while loop?

1162


What is data structure in c++?

1148


Is c++ still being used?

1029


Define a constructor - what it is and how it might be called (2 methods)?

1144


What is the c++ programming language used for?

1050


Which operator cannot be overloaded c++?

1017


Can you Mention some Application of C/C++?

1082


How would you implement a substr() function that extracts a sub string from a given string?

1048


Explain function overloading

1021