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
 
Twitter Delicious Facebook Digg Google Bookmarks E-mail LinkedIn Reddit StumbleUpon    
  • Download TWiki
Copyright © 1999-2012 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding WikiLearn? Send feedback
See TWiki's New Look