ICSE Class 10 Computer Applications Question 5 of 30

Solved 2024 Specimen Paper ICSE Class 10 Computer Applications — Question 5

Back to all questions
5
Question

Question 1(v)

The number of bytes occupied by a character array of 10 elements.

  1. 20 bytes
  2. 60 bytes
  3. 40 bytes
  4. 120 bytes
Answer

20 bytes

Reason — A char data type occupies '2' bytes in the memory. Thus, 10 char type elements occupy (10 x 2) = 20 bytes in memory.