Which value does the C standard guarantee for sizeof(char)?
-
A
4
-
B
8
-
C
1
Correct answer
-
D
2
13 views
Explanation
By definition sizeof(char) is exactly 1, and every other object size is a multiple of it.
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