INT16_MAX --Constant representing the maximum value of int16_t
INT16_MAX is a constant that represents the maximum value of int16_t --signed 16-bit integer type. It can be used by including the " stdint.h" header. This is the constant macro introduced in C99.
#include <stdio.h>
#include <stdint.h>
int main (void) {
printf("%d", INT16_MAX);
}
"%D" is used in the format specifier of printf function.
The output INT16_MAX value.
32767
C Language Zemi