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

ICSE Class 10 Computer Applications PYQ · 2024 Specimen · Section A

1(v)1 Mark · 2024 · Section A · 2024 Specimen

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

Show SolutionHide Solution↓

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.

← Previous questionNext question →

Browse the free Computer Applications sample bank