📖 Definition:
Data types define the type of data a variable can hold.
📊 Types:
| Type | Example | Description |
|---|---|---|
| int | 10 | Integer |
| float | 3.14 | Decimal |
| char | ‘A’ | Character |
| bool | true | True/False |
Data types define the type of data a variable can hold.
| Type | Example | Description |
|---|---|---|
| int | 10 | Integer |
| float | 3.14 | Decimal |
| char | ‘A’ | Character |
| bool | true | True/False |