(Jan 3, 2012) C data types

I need to create a post with tabular data to test posts with tables. Sooo, I’m here to present the various C data types, brought to you by Wikipedia:

Type Explanation Possible values*
char Smallest addressable unit of the machine that can contain basic character set. It is an integer type. Actual type can be either signed or unsigned depending on implementation. 0 to 255
short int short signed integer type. At least 16 bits in size. 0 to 65,535
int Basic signed integer type. At least 16 bits in size. 0 to 4,294,967,295
long int long signed integer type. At least 32 bits in size 0 to 4,294,967,295
long long long long signed integer type. At least 64 bits in size. Specified only in C99 version of the standard. 0 to 18,446,744,073,709,551,615
float Single precision floating-point type.
double Double precision floating-point type.
long double Extended precision floating-point type.

* Possible unsigned values.


6 notes

  1. thisstuff posted this