Difference between shift left and shift right?
Answer Posted / 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 View All Answers
What are exceptions c++?
What is the use of typedef?
List the types of polymorphism in c++?
Explain queue. How it can be implemented?
Why do we use classes in c++?
How is static data member similar to a global variable?
If a function doesn’t return a value, how do you declare the function?
How should a contructor handle a failure?
Differentiate between a constructor and a method in C++.
What is the most useful programming language?
Inline parameters : What does the compiler do with the parameters of inline function, that can be evaluated in runtime ?
What c++ is used for?
Difference between Abstraction and encapsulation in C++?
How compile and run c++ program in turbo c++?
Can a program run without main in c++?