Wednesday, February 11, 2009

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

Question :What is the difference between the >> and >>> operators?
Answer :The >> operator carries the sign bit when shifting right. The >>> zero-fills bits that have been shifted out.

No comments: