Wednesday, 1 May 2019

ch- file

file

End of file is detected by
A) fend()
B) endf()
C) EOF
D) FEND

b) What is a file in C? Discuss various modes in which a file can be opened. Also discuss types of files.

true/false

While calling the fprintf() function in the format string conversion specifier %s can be used to write a character string in capital letters. FALSE

If the file to be included doesn‟t exist, the preprocessor flashes an error message. TRUE

Using fprintf function, we can print on the standard output device.

fill in the blank:
Function ___(E) fputs________ writes a line to a specified file

Write a „C Program to copy test of one file to another file.

Explain the difference between Text Mode and Binary Mode files



 Explain the difference between Test mode and Binary mode files.


No comments:

Post a Comment

Index

ch-1 Introduction