✏️ Explanatory Question

What is the difference between the >> and >>> operators?

👁 592 Views
📘 Detailed Answer
💡

Answer with Explanation

The >> operator carries the sign bit when shifting right. The >>> zero-fills bits that have been shifted out.