Microprocessors

Q1: 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

A 8

B 7

C 7.5

D zero

ANS:A - 8

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



img not found
img

For help Students Orientation
Mcqs Questions

One stop destination for examination, preparation, recruitment, and more. Specially designed online test to solve all your preparation worries. Go wherever you want to and practice whenever you want, using the online test platform.