NEW
Font size
WorksheetsC File Management
Total questions: 10
Worksheet time: 5mins
A mode which is used to open an existing file for both reading and writing ______
”W”
”W+”
”R+”
”A+”
Select a function which is used to write a string to a file ______
pits()
putc()
fputs()
fgets()
Select a function which is used to read a single character from a file at a time?
fscanf()
getch()
fgetc()
fgets()
Select a function which is used as a formatted output file function ______
printf()
fprintf()
puts()
fputs()
Select a program which get input data from datafile and also send output into datafile ,it is called _____
files
file processing
data files
file handling
Select text file in which data is stored in ________
ASCII code
Binary code
Octal code
text code
Select text file in which number will take
2 bytes
4 bytes
3 bytes
8 bytes
Select which is true about a stream _______
It is a general name given to a flow of data
It is simply a sequence of bytes
It is a logical interface to the data file
All of these
Select in which of the following the character conversion is possible ______
text stream
binary stream
output stream
input stream
Select which is used for the next line marker _______
’\r’
’\n’
’\r’
’\0’
