Thread: scanf
View Single Post
Skilled contributor
13Aug2008,23:14  
faizulhaque's Avatar
use getche() rather than scanf command for Character inputs.
like

Code:
char ch;
ch=getche();
printf("%c",ch);

Last edited by faizulhaque; 13Aug2008 at 23:30..