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 [...]

Tags: , ,

Copyright © 2009-2012 Joys of Programming All rights reserved.
Desk Mess Mirrored v1.8.1 theme from BuyNowShop.com.