User Tools

Site Tools


cplusplus:control_structures_selection

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
cplusplus:control_structures_selection [2017/01/30 20:35] mithatcplusplus:control_structures_selection [2017/01/31 23:57] (current) – [C++ logical operators] mithat
Line 185: Line 185:
   * ''&&'' (logical AND)   * ''&&'' (logical AND)
     * Takes two operands     * Takes two operands
-    * Returns ''true'' if //both// operands are ''true'', ''false'' otherwise.+    * Returns ''true'' if //both// operands are ''true'', returns ''false'' otherwise.
   * ''||'' (logical OR)   * ''||'' (logical OR)
     * Takes two operands     * Takes two operands
-    * Returns ''true'' if //either// operand is ''true'', ''false'' otherwise.+    * Returns ''true'' if //either// operand is ''true'', returns ''false'' otherwise.
   * ''!'' (logical NOT, logical negation)   * ''!'' (logical NOT, logical negation)
     * Takes one operand     * Takes one operand
cplusplus/control_structures_selection.1485808542.txt.gz · Last modified: 2017/01/30 20:35 by mithat

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki