• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

check the output

 
Kaustubh G Sharma
Ranch Hand
Posts: 1283
Chrome Java Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator



output is -45679 how ???
 
Rob Spoor
Sheriff
Pie
Posts: 20514
54
Chrome Eclipse IDE Java Windows
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Do you know what 2's complement is? (If not, look it up on Wikipedia.)
Do you know what ~ does?
 
Kaustubh G Sharma
Ranch Hand
Posts: 1283
Chrome Java Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks I got the answer
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic