answersLogoWhite

0


Best Answer

An unsigned integer cannot be negative.

It has a maximum positive value twice that of a signed integer.

Max signed: 128

Max signed: 256

I could be off by one there, though.

User Avatar

Wiki User

15y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is the difference between signed integer and unsigned integer?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is the difference between signed integer and unsigned integer in terms of memory and range?

Signed integer is any integer that carries negative sign while unsigned integer is any integer that carries positive sign


Difference between signed and unsigned int?

A signed integer is one with either a plus or minus sign in front. That is it can be either positive or negative.An unsigned integer is assumed to be positive


Difference between signed number from unsigned number?

a signed number is one that can be negative (have a sign) whereas an unsigned number will only be positive. due to less information, you can double the largest number storable in a signed integer to get the data available in an unsigned integer. However, PHP doesn't have unsigned integers, they're all signed.


What is the difference between a signed and unsigned article?

A signed article identifies the writer whereas an unsigned article does not identify the author.


Difference between an unsigned and a signed type?

The qualifier signed or unsigned may be applied to char or any integer. unsigned numbers are always positive or zero, and obey the laws of arithmetic modulo 2n, where n is the number of bits in the type. So, for instance, if charsare 8 bits, unsigned charvariables have values between 0 and 255, while signed charshave values between -128 and 127 (in a two's complement machine.) Whether plain charsare signed or unsigned is machine-dependent, but printable characters are always positive.


What is the significance of declaring a constant unsigned integer?

What is the significance of declaring a constant unsigned integer?


What are the permissible data types for an array index?

Integer (signed or unsigned)


What are the difference between signed and unsigned data types?

A signed integer represents both positive and negative values, while an unsigned integer represents only positive values. Range depends on the number of bits the compiler assigns for the representation. bits max-negative max-positive max-unsigned 8 -128 +128 255 16 -32768 +32767 65535 32 -2147483648 +2147483647 4294967295 64 -9223372036854775808 +9223372036854775807 18446744073709551615


What is the difference between unsigned and int?

The value range. Example for 16-bit integers: signed: -32768..32767 unsigned: 0..65535


Is unsigned integer available in java?

No..Java Supports Signed positive and negative integers


Why do we have 2 DATA types of same size for integer?

One of them is signed, the other is unsigned.


Meaning of signed integer in c language?

signed integer means that it has a sigh (+ or -). Using another words you say that signed variable can be positive as well as negative. unsigned variables can be only positive.