Home / ECE / Microprocessors :: Discussion

Discussion :: Microprocessors

  1. Assuming that k is an integer what would the result of following expression in C
    k = 2* 3 / 5 + 4 / 4 + 8 - 2 - 4 / 8

  2. A.
    8
    B.
    7
    C.
    7.5
    D.
    zero

    View Answer

    Workspace

    Answer : Option A

    Explanation :

    k = 1 + 1 + 8 - 2 - 0 = 8 because k is an integer.


Be The First To Comment