Windows 64–bit applications

 

Name Length
char 1 byte
short 2 bytes
int 4 bytes
long 4 bytes
float 4 bytes
double 8 bytes
long double 8 bytes
pointer 8 bytes

Note that all pointers are 8 bytes.

ptrdiff_t 8 bytes
size_t 8 bytes
time_t 8 bytes
clock_t 4 bytes
wchar_t 2 bytes
WORD 2 bytes
DWORD 4 bytes
HANDLE 8 bytes
HFILE 4 bytes

 

Parent topic:

Standard data types


fg19420_