Program to print integer range
#include<stdio.h> main() { signed short int i; i=32767; printf("i=%hd\n",i); i++; printf("i=%hd\n",i); }OutPut:
madan@madan-Lenovo-G570:~/madan$ cc ex39.c madan@madan-Lenovo-G570:~/madan$ ./a.out i=32767 i=-32768Program for Logical operations checking