• Post Reply Bookmark Topic Watch Topic
  • New Topic

Output Explanation  RSS feed

 
Jdinesh Tiwari
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


Why the output is 0 in this case may explain the same
 
Jan Hoppmann
Ranch Hand
Posts: 147
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm not entirely sure if this is due to the casting you're doing, or just because - (- 20) - 20 is 20 - 20 is 0.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!