Important MCQ

The typical size of int is

Q.The typical size of int is

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