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 |
What are the data types in c++?
If horse and bird inherit virtual public from animal, do their constructors initialize the animal constructor? If pegasus inherits from both horse and bird, how does it initialize animal’s constructor?
Will a catch statement catch a derived exception if it is looking for the base class?
write infinite loop in C++ which does not use any variable or constant?
Should you pass exceptions by value or by reference?
How to access a variable of the structure?
Write about a nested class and mention its use?
simple c++ program for "abcde123ba" convert "ab321edcba" with out using string
What are the advantages of using const reference arguments in a function?
What do you mean by abstraction. Explain your answer?
What are the three types of access specifiers in C++?
Write syntax to define friend functions in C++.