Loading

C - Program - Getche Example

Getche Example



#include <stdio.h>
#include <conio.h>

int main(void)
{
   char ch;

   printf("Input a character:");
   ch = getche();
   printf("\nYou input a '%c'\n", ch);
   return 0;
}

This entry was posted in . Bookmark the permalink.

Leave a reply