Search:

Type: Posts; User: laserlight

Search: Search took 0.12 seconds.

  1. Yes.

    Yes.
  2. Yes, if the left operand is not sufficient to...

    Yes, if the left operand is not sufficient to determine the value of the expression. That is, in the case of ||, if the left operand evaluates to a false value (i.e., zero), the right operand is...
  3. What is the relative precedence of || and &&? ...

    What is the relative precedence of || and &&?

    EDIT:
    Actually, grouping does not matter so much for the value of j, though it matters for the value of k. Still, it is good to know how those...
  4. Hint: the || and && operators have a "short...

    Hint: the || and && operators have a "short circuit" behaviour such that if evaluating the left operand is sufficient to determine the value of the whole expression, the right operand is not...
Results 1 to 4 of 4