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?

Answers were Sorted based on User's Feedback



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

Answer / rahul

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

Is This Answer Correct ?    15 Yes 0 No

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

Answer / saranya

if s=10
s=s>>1

Is This Answer Correct ?    5 Yes 1 No

Post New Answer

More C++ General Interview Questions

What is the use of function pointer?

0 Answers  


When should we use container classes instead of arrays?

0 Answers  


What is namespace & why it is used in c++?

0 Answers  


What are the two main components of c++?

0 Answers  


Write about an iterator class?

0 Answers  


Do we have private destructors?

12 Answers   Symphony, TCS,


What is an inclusion guard?

0 Answers  


Which software is best for programming?

0 Answers  


What is the use of structure in c++?

0 Answers  


write a function signature with various number of parameters.

0 Answers  


How do you initialize a string in c++?

0 Answers  


What is an Iterator class?

1 Answers  


Categories