[Home]
[Edit this page]
[Recent Changes]
[Special Pages]
[Help]
CLogicalOrOperator
[Edit this page] [Page history] [What links here] [Discuss this topic] [Printer Friendly]
CLogicalOrOperator
(C) || operator
The logical-or-operator is used in conditional statements.
if (x==0 || y==0)
{
/* Either x or y (or both) were equal to zero */
/* Do something */
}
'Logical OR operator' links
[Edit this page] [Page history] [What links here] [Discuss this topic] [Printer Friendly]
