Run Code  | API  | Code Wall  | Users  | Misc  | Feedback  | Login  | Theme  | Privacy  | Patreon 

fundamental type sizes

Language: Layout:
+ ] Compiler args + ] Show input
Compilation time: 0.43 sec, absolute running time: 0.14 sec, cpu time: 0 sec, memory peak: 3 Mb, absolute service time: 0.63 sec 
fork mode |  history  | discussion
Char types sizes

Size of char:		 1 bytes. or 8 bits
Size of char16_t:	 2 bytes. or 16 bits
Size of char32_t:	 4 bytes. or 32 bits

Integer types (signed) sizes

Size of char:		 1 bytes. or 8 bits
Size of short:		 2 bytes. or 16 bits
Size of int:		 4 bytes. or 32 bits
Size of long:		 8 bytes. or 64 bits
Size of long long:	 8 bytes. or 64 bits

Floating-point typessizes

Size of float:		 4 bytes. or 32 bits
Size of double:		 8 bytes. or 64 bits
Size of long double:	 16 bytes. or 128 bits

Size of boolean:	1 bytes or 8

r1 = string with \backslash
r2 = string with \backslash
s1 = string with ackslash
s2 = string with \backslash