Question #214621

Write a C program for File Operations to get a character from the keyboard and print the entered character using fgetchar() and fputchar() function.


Expert's answer

#include <stdio.h>

int main() {
    char ch;


    ch = fgetchar();
    fputchar(ch);

    return 0;
}

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

LATEST TUTORIALS
APPROVED BY CLIENTS