Answer to Question #214621 in C for a.s.vijay

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.


1
Expert's answer
2021-07-07T01:53:43-0400
#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!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS