C Programming - Control Instructions - Discussion

Discussion Forum : Control Instructions - True / False Questions (Q.No. 4)
A char variable can store either an ASCII character or a Unicode character.
Answer: Option

Yes, we can store either an ASCII character or a Unicode character in a char variable.

7 comments Page 1 of 1.

Lokender said:   7 years ago
UNICODE is what language like java supports which is 2bytes long unlike C (1 byte).

The question says, it can store, meaning, some characters in UNICODE which needs 1 byte of storage can be stored absolutely without any loss of data.

Siri said:   8 years ago
What is UNICODE character? Please explain that.

Erin said:   9 years ago
What is a UNICODE character?

Ahmed said:   1 decade ago
C doesnt supports UNICODE and how can a 8 bit value store a 16 bit value ?

Poonam said:   1 decade ago
Sometimes char is treated as int then how can a char only stores the above 2?

AMD said:   1 decade ago
By Default char is 8 bit . ANSI C states sizeof(char) < sizeof(short) < sizeof(long)
Unicode is 16 bit. ASCII is 8 bit. char must be 8 bit..
unicode needs wchars...

Viraj said:   1 decade ago
Unicode character is 16 bit.
So how can a 8 bit character type hold Unicode??

Post your comments here:

Your comments will be displayed after verification.