KwickClips Cyber Safety and Ethics · 41 sec · free
Which type stores 3.5?
Short answer. double.
What is a token?
The smallest piece of code.
Basic data types
| Type | Stores | Usual size |
|---|---|---|
| int | 45 | 4 bytes |
| double | 3.5 | 8 bytes |
| char | 'A' | 1 byte |
| bool | true | 1 byte |
Remember
| Token: smallest piece of code |
| Pick the type that fits the value |
Which type should store three point five? Each type has a job. Int stores whole numbers. Double stores decimals. Char stores one character. Bool stores true or false. A token is the smallest piece of code. Pick the type that fits.
This clip is from the full lesson: C++ Tokens, Data Types, Variables and Operators — 8 minutes, with the tables, the quick answers and the whole lesson in text.
Useful for: NIOS Senior Secondary Computer Science (330), Programming All levels C++, Programming All levels C++, Programming All levels C++
More KwickClips from this lesson
Voice-over is AI-generated; the script is written and checked by Kajal Ma'am. Confirm anything you plan around against your official board document. We never ask for a password or an OTP.




