Impact of signed numbers on memory using Data Structures

Described the impact of signed numbers upon the memory by using Data Structures?

E

Expert

Verified

Sign of the number is the initial bit of the storage allocated for such number. Therefore you get one bit less for storing the number. For illustration if you are storing an 8-bit number, so without sign, the range is 0-255. When you decide to store sign you find out 7 bits for the number and also one bit for the sign. Therefore the range is -128 to +127.

   Related Questions in Database Management System

©TutorsGlobe All rights reserved 2022-2023.