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 are guid?

0 Answers  


What is an associative container in c++?

0 Answers  


Write a program in c++ to print the numbers from n to n2 except 5 and its multiples

0 Answers   Cankaya University,


What is the difference between the compiler and the preprocessor?

0 Answers  


What is a singleton c++?

0 Answers  


What causes a runtime error c++?

0 Answers  


What are the advantages of using friend classes?

0 Answers  


In which situation the program terminates before reaching the breakpoint set by the user at the beginning of the mainq method?

0 Answers  


What is using namespace std in c++?

0 Answers  


What is the difference between "overloading" and "overridding"?

3 Answers  


What does override mean in c++?

0 Answers  


Explain the differences between list x; & list x();.

0 Answers  


Categories