Follow Our FB Page << CircleMedia.in >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...


which is the easy way to divide any integer by 2?

Answers were Sorted based on User's Feedback



which is the easy way to divide any integer by 2?..

Answer / rahul

int i = 10;
i = i >> 1;

Is This Answer Correct ?    15 Yes 0 No

which is the easy way to divide any integer by 2?..

Answer / saranya

if s=10
s=s>>1

Is This Answer Correct ?    5 Yes 1 No

Post New Answer

More C++ General Interview Questions

In C++ cout is: a) object b) class c) something else

11 Answers   Infosys, Lehman Brothers,


What is a class definition?

0 Answers  


What are the advantages of using a pointer?

0 Answers  


Can union be self referenced?

0 Answers  


explain the reference variable in c++?

0 Answers  






What is abstraction c++?

0 Answers  


What is the hardest coding language to learn?

0 Answers  


What is the use of turbo c++?

0 Answers  


Live example for static function?

1 Answers   Infosys,


what are Operators and explain with an example?

0 Answers  


What is the exit function in c++?

0 Answers  


What do you mean by internal linking and external linking in c++?

1 Answers  


Categories