Qualified Basic Data Types in C - C Reference

C examples for Reference:Language Reference

Introduction

Basic Data Type Size in Bits Range of Values
signed char 8 -128 to 127
unsigned char 8 0 to 255
signed int 16 -32,768 to 32,767
unsigned int16 0 to 65,535
short int or signed short int 8 -128 to 127
unsigned short int 8 0 to 255
long int or signed long int 32 -2,147,483,648 to 2,147,483,647
unsigned long int 32 0 to 4,294,967,295
long double 80 -3.4e-4932 to -1.1e+4932, 0, 3.4e-4932
Void 0 No value
Enum 16 -32,768 to 32,767

Related Tutorials