Skip to main content
William Boon
Age: 15-26 The age where you meet a lot of temporary people.
Asked a question 3 years ago

how big is a char in c?

Where am I?

In answerQA you can ask and answer questions and share your experience with others!

Maverick Noah
High hopes get Higher vibes

In C++ the size of the character literal is char. So in C the sizeof('a') is 4 for 32bit architecture, and CHAR_BIT is 8. But the sizeof(char) is one byte for both C and C++.

Related Questions