Search:

Type: Posts; User: Krumpir

Search: Search took 0.12 seconds.

  1. Replies
    5
    Views
    1,613

    Re: how operator( && or || works).....

    Basic OR logic:
    x y x&y
    --------------
    1 0 | 0
    1 1 | 1
    0 1 | 0
    0 0 | 0

    In binary the numbers are represented as follow:
    4: 100
  2. Replies
    5
    Views
    1,613

    Re: how operator( && or || works).....

    Those are used to represent boolean operators. The && is used for AND statements and the || for OR statements.

    The expression "A || B" will return true if either A or B where "A && B" will only...
Results 1 to 2 of 2