**Note: To perform this I have used Dev c++ tool. It is checked and compiled.

We can simple use getchar() to read the input character in C language

void main(){
char c;
printf("\n\n*****************Program to Read an Input Keystroke******************\n\n");
printf("Enter a Character: \n");
printf("Your Input Is: %c ",c);


Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: