4. Performing Logical Operations

  1. Stephen R. Davis

Published Online: 31 OCT 2011

DOI: 10.1002/9781118257524.ch4

C++ for Dummies®, 6th Edition

C++ for Dummies®, 6th Edition

How to Cite

Davis, S. R. (2009) Performing Logical Operations, in C++ for Dummies®, 6th Edition, Wiley Publishing, Inc., Hoboken, NJ, USA. doi: 10.1002/9781118257524.ch4

Publication History

  1. Published Online: 31 OCT 2011
  2. Published Print: 27 APR 2009

ISBN Information

Print ISBN: 9780470317266

Online ISBN: 9781118257524



  • logical;
  • operations;
  • sometimes-illogical logical;
  • logical variables;
  • bitwise logical


This Chapter contains sections titled:

  • Why Mess with Logical Operations?

  • Using the Simple Logical Operators

  • Expressing Binary Numbers

  • Performing Bitwise Logical Operations