S
Sunner Sun
Hi, all
FAQ of comp.lang.c said "In C, type char is defined as occupying one
byte, so it is usually 8 bits".
(http://www.eskimo.com/~scs/cclass/notes/sx2a.html)
But I found in C99 that "An object declared as type char is large
enough to store any member of the basic execution character set."(6.2.5
Types)
C99 means that if the basic execution character set is UNICODE, then
sizeof(char) should be 2. Is it right?
I'm mazed,
FAQ of comp.lang.c said "In C, type char is defined as occupying one
byte, so it is usually 8 bits".
(http://www.eskimo.com/~scs/cclass/notes/sx2a.html)
But I found in C99 that "An object declared as type char is large
enough to store any member of the basic execution character set."(6.2.5
Types)
C99 means that if the basic execution character set is UNICODE, then
sizeof(char) should be 2. Is it right?
I'm mazed,