C Programming MCQ

1: The following 'c' program main() { unsigned int m[]={0.01,0.02,0.04,0.08,0.10,0.20,0.40,0.80}; unsigned char n,i; scanf("%d",&n); for(i=0;i
A. Putting of all bits which are on in the number n
B. Testing whether the individual bits of n are on or off
C. Would give an error
D. Undefined
 

Answer : B

Explanation :

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.