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
Explain mutable storage class specifier.
What is void pointer in c++ with example?
Is it possible for a member function to use delete this?
What is Destructor in C++?
How we can differentiate between a pre and post increment operators during overloading?
Which is not a valid keyword a) public b) protected c) guarded
What is the difference between while and do while loop?
What is data structure in c++?
Is c++ still being used?
Define a constructor - what it is and how it might be called (2 methods)?
What is the c++ programming language used for?
Which operator cannot be overloaded c++?
Can you Mention some Application of C/C++?
How would you implement a substr() function that extracts a sub string from a given string?
Explain function overloading