Please select true statement(s) for shift operators. 1.>>> operator always produces a positive number. 2.>> always produces a positive number for a positive number. 3.>> always produces a negative number for a negative number. 4.None of the above
The unsigned right shift operator ( >>> ) does not always produce a positive number. For example, if shifting by some multiple of the number of bits the type can hold, the result will be the left operand.
For example, -5 >>> 32 results in -5. [ November 03, 2005: Message edited by: marc weber ]
"We're kind of on the level of crossword puzzle writers... And no one ever goes to them and gives them an award." ~Joe Strummer sscce.org