Tags:
create new tag
, view all tags
In C logic (like a conditional in an if statement):

Zero is false.

Anything else is true.

See also: Cpl Bitwise Logical Operations

See:

Contents

Notes

A byte, word, int, char, or whatever containing zero (all binary zeros) is false.

A byte, word, int, char, or whatever containing anything else (any binary one) is true.

Contributors

  • () RandyKramer - 23 Apr 2003
  • If you edit this page: add your name here; move this to the next line; and if you've used a comment marker (your initials in parenthesis), include it before your WikiName.

Page Ratings

Topic revision: r1 - 2003-04-23 - RandyKramer
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by PerlCopyright 1999-2017 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding WikiLearn? WebBottomBar">Send feedback
See TWiki's New Look