In C, a variable of type char typically occupies:
-
A
4 bytes
-
B
8 bytes
-
C
1 byte
Correct answer
-
D
2 bytes
16 views
Explanation
char is the smallest addressable unit and is 1 byte in size.
Reference
Asked in: NTS, PPSC IT, Campus Interviews
Doubts & discussion
Not sure why the answer is C? Ask here and get an explanation.
Ask a doubt about this MCQ