Can anybody exaplin me whats the difference between signed and unsigned right shift operations for negative numbers?I am getting confused alot.for example int i=-5;i>>2=? and also i>>>2=? Thanks in advance.
posted 13 years ago
madhu, this topic has been discussed an incredible amount of times. Please learn how to use our search engine, type the keywords "shift operators" and I guarantee you will find your answer