Advertisements
Advertisements
Question
These are values of type True or False:
Options
boolean
int
float
char
MCQ
Advertisements
Solution
boolean
Explanation:
- A Boolean data type is used to represent logical values, which can be either True or False.
- Other data types like int store integers, float stores decimal numbers, and char stores single characters.
shaalaa.com
Is there an error in this question or solution?
