Data Types
| Lesson overview |
Lesson overview
Topics covered: int, float, char, double, void, and size_t types.
Data Types
int: whole numbers, typically 4 bytes
float: single-precision decimal, 4 bytes
double: double-precision decimal, 8 bytes
char: single character, 1 byte
void: no value
size_t: unsigned type for sizes
int x = 10; float y = 3.14;
Article author: Arthur Isaev