Assing int value to a char type variable
#include <stdio.h> int main(void) { char ch; int i; i = 1000; ch = i; printf("%d", ch); return 0; }