Do you know that? **15% freelance part time without any other work commitments** next

All Job Interview Questions and Answers << Interview answers for C Programming - Variables and Data Storage

**This helps getting job:** Hundreds of (cover letter examples , interview questions , profile samples ) • Earn on Upwork (oDesk) **Job assistance:** jobs popularity • freelance rates

Interview answers verified by specialists.

Find interview questions and answers on this website:

The easiest way to find out how large or small a number that a particular type can hold is to use the values defined in the ANSI standard header filelimits.h. This file contains many useful constants defining the values that can be held by various types, including these: Value Description CHAR_BIT-Number of bits in acharCHAR_MAX-Maximum decimal integer value of acharCHAR_MIN-Minimum decimal integer value of acharMB_LEN_MAX-Maximum number of bytes in a multibyte character INT_MAX-Maximum decimal value of anintINT_MIN-Minimum decimal value of anintLONG_MAX-Maximum decimal value of alongLONG_MIN-Minimum decimal value of alongSCHAR_MAX-Maximum decimal integer value of asigned charSCHAR_MIN-Minimum decimal integer value of asigned charSHRT_MAX-Maximum decimal value of ashortSHRT_MIN-Minimum decimal value of ashortUCHAR_MAX-Maximum decimal integer value ofunsigned charUINT_MAX-Maximum decimal value of anunsigned integerULONG_MAX-Maximum decimal value of anunsigned long intUSHRT_MAX-Maximum decimal value of anunsigned short intFor integral types, on a machine that uses two's complement arithmetic (which is just about any machine you're likely to use), a signed type can hold numbers from -2(number of bits - 1) to +2(number of bits - 1) - 1. An unsigned type can hold values from 0 to +2(number of bits)- 1. For instance, a 16-bit signed integer can hold numbers from -215(-32768) to +215 - 1 (32767).