Quiz

Question 4–1.

What is the output of these operations?

    4 * 8
    (4 + 8) / (4 - 2)
    4 + 8 / 4 - 2
Question 4–2.

Set x = 25 and y = 5. What do these expressions evaluate to?

    (x >= y)
    (x >= y * 5)
    (x == y)
    (x = y)
    (x >= y) && (y <= x)
Question 4–3.

Describe the difference between the prefix and postfix operators.

Question 4–4.

Arrange these operators in order of precedence:

    &
    !=
    ?:
    &&
    ++
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset