Input / Output - Point Out Correct Statements :: Discussion


1.Which of the following statement is correct about the program?
A.The code counts number of characters in the file
B.The code counts number of words in the file
C.The code counts number of blank lines in the file
D.The code counts number of lines in the file
Answer:  Option  D
Explanation:

This program counts the number of lines in the file myfile.c by counting the character '\n' in that file.

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