• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

ShiftWise operator

 
Vidya Lakshman
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator



what is the output of the above code & explain the working?
Any help is highly appreciated.


Regards
Vidya
 
Ankit Dan
Ranch Hand
Posts: 47
Eclipse IDE Java MyEclipse IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


this will help you analyse..
 
Matthew Brown
Bartender
Posts: 4568
9
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Vidya Lakshman wrote:what is the output of the above code & explain the working?

The best way for you to find out the output would be to run it yourself.

So run it, and try and work out why the output is what it is. Then come back to us if you can't work it out, and we can help you.
 
Campbell Ritchie
Sheriff
Pie
Posts: 49796
69
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Why, on the other thread, did you think the 4th line gives a negative output?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic