Computer Science, asked by greyishsoul, 8 months ago

In C, how do you write a code to read a line of text from the keyboard and write it out to a data file called test.TXT and then display the contents of the file on the screen?

Answers

Answered by anushka177561
0

Explanation:

its contents on console. How to read a file and display file contents on console in C programming. In this exercises, I will explain you how to read a file character by character using fgetc(). How to read a file line by line using fgets().

Similar questions