Difference between shift left and shift right?



Difference between shift left and shift right?..

Answer / devesh kumar patel

in shift left we multiply the no by 2^n and in right shift
we multiply the no by 2^-n (where 'n' is no. of shift)

Is This Answer Correct ?    7 Yes 1 No

Post New Answer

More C++ General Interview Questions

What is array in c++ example?

0 Answers  


What you mean by early binding and late binding? How it is related to dynamic binding?

1 Answers  


What is function overloading in C++?

0 Answers  


Explain the difference between static and dynamic binding of functions?

0 Answers  


What is ofstream c++?

0 Answers  






How to reduce a final size of executable?

3 Answers  


Is c++ a float?

0 Answers  


Does c++ have finally?

0 Answers  


How come you find out if a linked-list is a cycle or not?

0 Answers  


What are the steps in the development cycle?

0 Answers  


Which function cannot be overloaded c++?

0 Answers  


Can we make any program in c++ without using any header file and what is the shortest program in c++.

0 Answers   MCN Solutions,


Categories