Results 1 to 8 of 8

Thread: <<,>> what these operators r?

  1. #1
    Junior Member
    Join Date
    Oct 2007
    Answers
    28

    <<,>> what these operators r?

    <<,>> these are left shift and right shift bitwise operators in c++,am i right?
    Ans me in yes/no

    can we say that these are the bitwise logical operators?yes/no


  2. #2
    Contributing Member
    Join Date
    Sep 2006
    Answers
    962

    Re: <<,>> what these operators r?

    1. Yes
    2. No ( Logical operators are !, &&, ||)

    ----------------------
    suresh


  3. #3
    Junior Member
    Join Date
    Jul 2007
    Answers
    20

    Re: <<,>> what these operators r?

    << This is shift left operator
    and >> this shift right operato..
    but
    In c++ we use as insertion and extraction operator...
    cin>> variable;
    cout<<display message.


  4. #4
    Junior Member
    Join Date
    Nov 2007
    Answers
    1

    Thumbs up Re: <<,>> what these operators r?

    These are the operator named as insertor(<<) and extractor (>>)in c++
    insertor is used mainly with cout and extractor is used with cin
    so you are totally wrong my friend


  5. #5
    Junior Member
    Join Date
    Jul 2007
    Answers
    4

    Re: <<,>> what these operators r?

    Quote Originally Posted by amar1_001 View Post
    <<,>> these are left shift and right shift bitwise operators in c++,am i right?
    Ans me in yes/no

    can we say that these are the bitwise logical operators?yes/no
    yes, these are called left shift and right shift bitwise logical operator in C++.


  6. #6
    Junior Member
    Join Date
    Nov 2007
    Answers
    2

    Smile Re: <<,>> what these operators r?

    Quote Originally Posted by amar1_001 View Post
    <<,>> these are left shift and right shift bitwise operators in c++,am i right?
    Ans me in yes/no

    can we say that these are the bitwise logical operators?yes/no
    the solutin is
    1.)yes
    2.)yes


  7. #7

    Re: <<,>> what these operators r?

    << This is left shift operator
    and >> this is right shift operato..


  8. #8
    Junior Member
    Join Date
    May 2008
    Answers
    6

    Thumbs up Re: <<,>> what these operators r?

    Quote Originally Posted by amar1_001 View Post
    <<,>> these are left shift and right shift bitwise operators in c++,am i right?
    Ans me in yes/no

    yes

    can we say that these are the bitwise logical operators?yes/no
    ~ --- bitwise NOT or one's complement(unary)
    & ---bitwise AND
    | ---bitwise OR
    ^ --- bitwise XOR (exclusive OR)


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About us
Applying for a job can be a stressful and frustrating experience, especially for someone who has never done it before. Considering that you are competing for the position with a at least a dozen other applicants, it is imperative that you thoroughly prepare for the job interview, in order to stand a good chance of getting hired. That's where GeekInterview can help.
Interact