InterviewSolution
Saved Bookmarks
| 1. |
The macro which is used to find the maximum value of an unsigned integer is _________(a) UNINT_MAX(b) UNSINT_MAX(c) UINT_MAX(d) UNIT_MAXI had been asked this question during an internship interview.Question is taken from Implementation-Defined Limits topic in portion C Library of C |
|
Answer» RIGHT ANSWER is (c) UINT_MAX Easy explanation - The macro which is USED to define the maximum value on an unsigned INTEGER is: UINT_MAX. To find the maximum value on a signed integer, we use the macro: SINT_MAX. |
|