Microprocessors - Engineering

Q1:

Consider the following program in C

int k
float b ;
k = 3
b = 10.1
k = k / b


The final result would be k =

A 0.297

B 0.2

C 0

D 3

ANS:C - 0

Since K is int hence answer is 0.