Important MCQ

Which data type stores a single character?

Q.Which data type stores a single character?

A) char
B) int
C) string
D) bool
Correct Answer:
Option A
Detailed Explanation:
A) char is correct. Data types define what a variable stores. int stores whole numbers, float/double store decimals, char stores one character, bool stores true/false, and sizeof reports size in bytes.