Write a C program for File Operations to get a character from the keyboard and print the entered character using fgetchar() and fputchar() function.
#include <stdio.h>
int main() {
char ch;
ch = fgetchar();
fputchar(ch);
return 0;
}
Comments
Leave a comment