Tuesday, January 4, 2011

GETCH ( ) FUNCTION

WAP TO ENTER CHARACTER BY USING GETCH ( ) FUNCTION
#include
void main ()
{
char ch;
clrscr ();
printf ("Enter any character: ");
ch=getch();
printf ("You have pressed %c",ch);
getch ();
}


No comments:

Post a Comment