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 is the use of vtable?
How do I use turbo c++?
What are the four main data types?
Can non graphic characters be used and processed in C++?
Can we sort map in c++?
What are the implicit member functions of class?
What does I ++ mean in c++?
What are containers in c++?
What is the full name of logo?
Which of the following is not a valid declaration for main() a) int main() b) int main(int argc, char *argv[]) c) They both work
What are the comments in c++?
How can you quickly find the number of elements stored in a static array? Why is it difficult to store linked list in an array?
Is c++ a float?
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.
which one is equivalent to multiplying by 2:Left shifting a number by 1 or Left shifting an unsigned int or char by 1?