Please a simple question... | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Please a simple question...

What does mean writing in a file. Means that :what the user write in scanf will be copied in the file. Or:to write in a file as we do in normal files"block-note" Maybe a stupid question.but I need to know the answer please and thanks in advance.

30th May 2020, 7:12 PM
Amal Gil
Amal Gil - avatar
1 Answer
+ 1
Writing in a file means whatever data you want to store in your file. File can be of many type (extensions) like .txt .mp3 .wav .mp4 But while learning programming we normally deal with only text files .txt and its not necessary that you will have to use only scanf to write into a text file there are many ways to write in a text file.
30th May 2020, 7:59 PM
Robin Singh
Robin Singh - avatar