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 Destructor in C++?

1177


What is polymorphism & list its types in c++?

1048


What is a far pointer? where we use it?

1065


Does c++ cost money?

985


What is dev c++ used for?

1025


Suppose that data is an array of 1000 integers. Write a single function call that will sort the 100 elements data [222] through data [321].

1445


I want explanation for this assignment: how to connect mysql database using c/c++,please explain this detailly?

2060


How many types of modularization are there in c++?

1069


What causes a runtime error c++?

1115


Explain the concept of friend function in c++?

1095


Explain the use of virtual destructor?

1072


What is do..while loops structure?

1133


Is linux written in c or c++?

1036


What are the restrictions apply to constructors and destructors?

1076


What is flag in computer?

1039