Home / ECE / Microprocessors :: Discussion

Discussion :: Microprocessors

  1. Consider the following in C

    1. An arithmetic operation between integer and an integer gives integer as the result.
    2. An arithmetic operation between a real and a real constant gives real constant as the result.
    3. An arithmetic operation between an integer constant and a real constant is not valid.
    Which of the above are correct?

  2. A.
    All
    B.
    1 and 2 only
    C.
    2 and 3 only
    D.
    1 and 3 only

    View Answer

    Workspace

    Answer : Option B

    Explanation :

    Mixed mode statement is allowed in C.


Be The First To Comment