This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js and have Paul Jensen on-line!
See this thread for details.
Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Question on Bitwise Conditional Operator  RSS feed

 
Sri Jad
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


What result we can expect from the above code...Iam getting

Pet status is... Pet count OK

But sizeOfYard > 8 is also true.. Why not Pet limit on the edge is getting printed??

Some one please answer me

Thanks

JD
[ May 25, 2006: Message edited by: Sri Jad ]
 
wise owen
Ranch Hand
Posts: 2023
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

equal to


or


[ May 25, 2006: Message edited by: wise owen ]
 
Sri Jad
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks wise owen
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!