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 are the five basic elements of a c++ program?

1051


What do you mean by early binding?

1012


How does java differ from c and c++?

931


Is c++ fully object oriented?

921


Explain the difference between class and struct in c++?

987


Define namespace in c++?

1000


write a c++ program to create class student having datamember name,Roll_no,age,and branch intilcization all the member using constructor print the all the details on the screen.

2650


Why isn't sizeof for a struct equal to the sum of sizeof of each member?

948


Is c++ still being used?

969


What can c++ be used for?

1039


What are the advantages of using friend classes?

1086


Explain shallow copy?

1002


How can I disable the "echo" feature?

1091


Is c++ a software?

1147


Can we use pointers in c++?

1005