0
C: Printing unsigned/signed short using printf
Posted by Joys of Programming on in C/C++
Two types of integer are supported in C: signed and unsigned integers. If you want to use integer which occupies only 2 bytes, you can use short instead of int. To declare a signed short integer To declare a unsigned short integer If you do not specify a specifier with short, it is taken as [...]