ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
info       Did you received any Funny E-Mails from your Friends and like to share with rest of our friends? Yeah!! you can post that stuff   HERE
Google
 
Categories  >>  Software  >>  Programming Languages  >>  C++  >>  C++ General
 
 


 

 
 STL interview questions  STL Interview Questions
 OOPS interview questions  OOPS Interview Questions
 C++ General interview questions  C++ General Interview Questions
Question
Difference between shift left and shift right?
 Question Submitted By :: Shalini
I also faced this Question!!     Rank Answer Posted By  
 
  Re: Difference between shift left and shift right?
Answer
# 1
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 ?    0 Yes 0 No
Devesh Kumar Patel
 

 
 
 
Other C++ General Interview Questions
 
  Question Asked @ Answers
 
write program for palindrome  3
What is "mutable" keyword?  2
write a program in c++ to implement stack using functions in header file stack.h Subex1
How many bit combinations are there in a byte? Intel7
Difference between shift left and shift right? Symphony1
What is the difference between a copy constructor and an overloaded assignment operator? Microsoft3
Which algorithm do you like the most? Why? Google1
what is data Abstraction? and give example TCS13
How do you know that your class needs a virtual destructor? Lucent3
How to change constant values? Symphony3
What are the different types of Storage classes?  3
How to implement flags? Symphony1
why we cant create array of refrences  2
why can't we declare data member of class auto register or extern  1
Describe functional overloading? HP3
What are advantages and disadvantages of Design patterns? IBM3
Write a program to reverse a linked list? Catalytic-Software2
when can we use virtual destructor? HP2
What is the Difference between "C structure" and "C++ structure"?  4
What will happen if when say delete this ?  3
 
For more C++ General Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com