C Programming MCQ

1:

Assume an unsigned integer occupies 1 byte. Let myVar be an unsigned integer. Then myVar « 1 multiplies myVar by 2 if it is not greater than

A.

127

B.

255

C.

256

D.

128

 

Answer : A

Explanation :

If the most significant bit is to be zero, the maximum number that can be swred in 7 bits is 127.

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.