#include <stdio.h> int main(void) { short int si; long int li; li = 100000; si = li; /* convert long to short int */ printf("%hd", si); return 0; }