Close
Close

What is the meaning of << and >> symbol

   Lokdhen Funshoo , College of science of technology

  • << means binary left shift and >> is binary right shift. These are used in bit operation to shift the bit left and right respectively.
    - aMiT PaThAk
  • https://www.codesdope.com/blog/article/bitwise-operators-in-c-and-c/
    - aMiT PaThAk
  • These are bitwise operator.
    - aMiT PaThAk

Answers

  •   
    <<
    

    shifts the binary number one digit to the left and adds an Zero to to the right side:

    1010.1010 

    «

    0101.0100 

     

    « is essentialy the same as ++ or  because it shifts 1 times
    

     



Ask Yours
Post Yours
Write your answer