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 are the five basic elements of a c++ program?
What do you mean by early binding?
How does java differ from c and c++?
Is c++ fully object oriented?
Explain the difference between class and struct in c++?
Define namespace in c++?
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.
Why isn't sizeof for a struct equal to the sum of sizeof of each member?
Is c++ still being used?
What can c++ be used for?
What are the advantages of using friend classes?
Explain shallow copy?
How can I disable the "echo" feature?
Is c++ a software?
Can we use pointers in c++?