Listing 1
#include <stdio.h> main() { int c; while (1) { c = getch(); printf ("\n Value of c is %d", c); } }