Aspire's Library

A Place for Latest Exam wise Questions, Videos, Previous Year Papers,
Study Stuff for MCA Examinations - NIMCET

Previous Year Question (PYQs)



Which of the following is wrong about the data types?





Solution

For $n$ bits:

Unsigned range is:

$0$ to $2^n-1$

Signed range is:

$-2^{n-1}$ to $2^{n-1}-1$

So, signed data type does not have more range than unsigned data type.



Online Test Series,
Information About Examination,
Syllabus, Notification
and More.

Click Here to
View More


Online Test Series,
Information About Examination,
Syllabus, Notification
and More.

Click Here to
View More

Ask Your Question or Put Your Review.

loading...