C Programming MCQ

1: The value of ab if ab & 0 x 3f equals 0 x 27 is
A. 047
B. 0 x 0 f
C. 0 x f3
D. 0 x 27
 

Answer : D

Explanation :
Let ab be 0 x MN. N&f should yield 7 i.e. N & 1111 should produce 0111. So, N should be 0111, i.e., 7.Similarly, M can be found to be 2. So, ab is 0 x 27.

Write your comments here:


Report Error
 

Option: A

Explanation : Explanation will come here. Explanation will come here. Explanation will come here. Explanation will come here. Explanation will come here.