Single Choice Moderate

QThe number of bits occupied by the value ‘a’ are:

ID: #23961 ICSE Computer Application - Class X - 2023 PYQ 85 views
Question Info
#23961Q ID
ModerateDifficulty
ICSE Computer Application - Class X - 2023 PYQTopic

Choose the Best Option

Click any option to instantly check if you're correct.

  • A 1 bit
  • B 2 bits
  • C 4 bits
  • D 16 bits
Correct Answer

Explanation

16 bits

Reason — A char data type occupies 2 bytes in the memory.

1 byte = 8 bits
2 bytes = 8 * 2 = 16 bits

Share This Question

Challenge a friend or share with your study group.