<<,>> 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
Printable View
<<,>> 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
1. Yes
2. No ( Logical operators are !, &&, ||)
----------------------
suresh
<< 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.
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
[QUOTE=amar1_001;19420]<<,>> 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[/QUOTE]
yes, these are called left shift and right shift bitwise logical operator in C++.
[QUOTE=amar1_001;19420]<<,>> 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[/QUOTE]
the solutin is
1.)yes
2.)yes
<< This is left shift operator
and >> this is right shift operato..
[QUOTE=amar1_001;19420]<<,>> 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[/QUOTE]
~ --- bitwise NOT or one's complement(unary)
& ---bitwise AND
| ---bitwise OR
^ --- bitwise XOR (exclusive OR)