Pages

Showing posts with label Other Topic. Show all posts
Showing posts with label Other Topic. Show all posts

Wednesday, May 9, 2012

Logical Operators


Logical Operators

Logical operators can be interpreted now as and, or, not. Unlike before, C++ does not cater these as a reserve word or keyword.

Operator         Keyword           Description
&&               and              2 or more condition
must be true in order for the output to be true

||               or               Either 1 of the
condition must be to in order for the output to be true

!                not              Inverts the output of
the expression.


This only explains that c++ evolves with the current technological standards.