InterviewSolution
Saved Bookmarks
| 1. |
The value of CHAR_MAX will be equal to SCHAR_MAX when _________(a) char represents positive value(b) char represents value equal to 0(c) char represents negative value(d) char represents an exponential valueI got this question in exam.This interesting question is from Implementation-Defined Limits in section C Library of C |
|
Answer» RIGHT option is (c) char REPRESENTS negative VALUE The BEST I can explain: The macro CHAR_MAX defines the maximum value for type char and its value is equal to SCHAR_MAX is char represents negative value, otherwise UCHAR_MAX. |
|