Computer Science, asked by sonamrehan9369, 10 months ago

What are Left Shift and Right Shift Operators (>> and <<) in C#?

Answers

Answered by Anonymous
1

\huge\mathfrak{Answer:-}

&lt;b&gt;

♦The operator '>>' is signed right shift operator.

The operator '>>' uses the sign bit (left most bit) to fill the trailing positions after shift.

♦If the number is negative, then 1 is used as a filler and if the number is positive, then 0 is used as a filler.

Answered by Anonymous
1

\huge{\boxed{\mathcal{\red{\underline{ANSWER}}}}}

♦ The operator '>>' is signed right shift operator.

The operator '>>' uses the sign bit (left most bit) to fill the trailing positions after shift.

♦ If the number is negative, then 1 is used as a filler and if the number is positive, then 0 is used as a filler.

Similar questions