Best collection of C programs
Showing posts with label
WAP TO ENTER CHARACTER BY USING GETCH ( ) FUNCTION
.
Show all posts
Showing posts with label
WAP TO ENTER CHARACTER BY USING GETCH ( ) FUNCTION
.
Show all posts
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 ();
}
Older Posts
Home
Subscribe to:
Posts (Atom)