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
What is Destructor in C++?
What is polymorphism & list its types in c++?
What is a far pointer? where we use it?
Does c++ cost money?
What is dev c++ used for?
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].
I want explanation for this assignment: how to connect mysql database using c/c++,please explain this detailly?
How many types of modularization are there in c++?
What causes a runtime error c++?
Explain the concept of friend function in c++?
Explain the use of virtual destructor?
What is do..while loops structure?
Is linux written in c or c++?
What are the restrictions apply to constructors and destructors?
What is flag in computer?