Multiple choice

How much of storage does a character (represented in Unicode) need?

  1. 1 byte

  2. 4 bytes

  3. 3 bytes

  4. 2 bytes

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

This is the char type, which holds representations of characters such as letters and numbers. The char data type holds 2 byte(16-bits), its range is 0 to 65535, for example: char i ='j'; i is a variable of char type declare and assign it the value 'j'.