Important MCQ

The typical size of char is

Q.The typical size of char is

A) 1 byte
B) 8 bytes
C) 2 bytes
D) 4 bytes
Correct Answer:
Option A
Detailed Explanation:
A) 1 byte 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.