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 role of copy constructor in copying of thrown objects?

0 Answers  


Is main a class in c++?

0 Answers  


without if else statement can be written ah

0 Answers  


Can we define function inside main in c++?

0 Answers  


What is OOPs

12 Answers   CA,


Explain "passing by value", "passing by pointer" and "passing by reference" ?

5 Answers  


Can we use this pointer inside static member function?

0 Answers  


What is the size of pointer ? Also size of pointer in 64 bit pointer

4 Answers  


Which programming language is best to learn first?

0 Answers  


what is difference between internet and Internet?

12 Answers   College School Exams Tests, Microsoft, MIT, TCS,


Can you please explain the difference between using macro and inline functions?

0 Answers  


implement stack using stack.h headerfile functions

1 Answers   Exilant, GMG, Subex, University,


Categories