Home of RF and Wireless Vendors and Resources

One Stop For Your RF and Wireless Need

signed vs unsigned

This page on signed vs unsigned describes difference between signed and unsigned integers. Let us understand the difference with short integer having storage of 2 bytes as allocated in 'C' language.


In this case, signed integer will have value range from -32768 to +32767 while unsigned integer will have range from 0 to 65535.

Signed integer can store either positive or negative number. Unsigned integer can store only postive value in the variable.

%d is used to print signed integer in the printf statement while %u is used to print unsigned integer in the printf statement.

RELATED LINKS

C Programming Language tutorial

What is Difference between

difference between FDM and OFDM
Difference between SC-FDMA and OFDM
Difference between SISO and MIMO
Difference between TDD and FDD
Difference between 802.11 standards viz.11-a,11-b,11-g and 11-n
OFDM vs OFDMA
CDMA vs GSM
Bluetooth vs zigbee
Fixed wimax vs mobile

RF and Wireless Terminologies