Input / Output - Point Out Correct Statements :: Discussion


3.Point out the correct statements about the program?
A.The code copies the content of one file to another
B.The code writes strings that are read from the keyboard into a file.
C.The code reads a file
D.None of above
Answer:  Option  B
Explanation:

This program get the input string from the user through gets function and store it in the file f1.txt using fputs function.

Tutorial Link:
Published by:Michael Daani

Comments are not available

Post your comments here:

Optional

Date to Date Current Affairs 2022

PakMCQs.net

Quick Links

GAT Subject



   Computer Science    English Mcqs    Agriculture    

Engineering



   Computer Science    Civil Engineering    

Technical



   Networking    Electronics    Database    

Past Papers



   Model Papers    FPSC Papers