Electronics and Communication Engineering - Microprocessors - Discussion

Discussion Forum : Microprocessors - Section 3 (Q.No. 19)
19.
Consider the following program in C

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


The final result would be k =
0.297
0.2
0
3
Answer: Option
Explanation:

Since K is int hence answer is 0.

Discussion:
Be the first person to comment on this question !

Post your comments here:

Your comments will be displayed after verification.