26.02.2009, 08:43
Quote:
? : e1 ? e2 : e3 results in either e2 or e3, depending on the value of e1. The conditional expression is a compound expression with a two part operator, “?” and “:”. Expression e2 is evaluated if e1 is logically “true”, e3 is evaluated if e1 is logically “false”. |
i don't understand what ? and : do
could anyone explain me please?