Microprocessors - Engineering

Q1:

Consider the following part of a C program float a, b
b = (a > 4 ? 2 : 9);

Assuming that a has values of 3 and 6, the values stored respectively will be

A 2 and 9

B 2.0 and 9.0

C 2.0 and 2.0

D 9.0 and 2.0

ANS:D - 9.0 and 2.0

No answer description is available.