Discussion :: Microprocessors
-
Consider the following program in C
int k;
float a, b, c;
k = a* b* c / 100 + 2.5 / 2 - 0.3 * 9
if a - 5.0, b = 2.0 and c = 3.0 the final result k =
Answer : Option B
Explanation :
k = 0 + 1 - 2 = - 1 because k is an integer.
Be The First To Comment