What does eof( ) represent ?
End of file
Exit of file
Entry of file
End of function
What is the use of stream class constructor in C++ ?
To start reading a file
To start program execution
To open a file
To exit a file
What is the first argument of a seekg( ) function with two arguments ?
Offset
Read offset
Relative offset
Offset size
Which of the following stream is used for both input and output operations ?
Ofstream
Ifstream
Iostream
Fstream
Which are the parameters of a write( ) method ?
Size of the block, filename
Pointer of the block, size of the block
Filename, pointer of the block
File name, file pointer
What is needed to transfer a string to a file ?
Member variable of stream class
Member object of ofstream class
Object of stream class
Function of ofstream class
Which of the following is a member of istream class ?
%
( )
>>
<<
Which of the following is an output function ?
Get( )
Out( )
Display( )
Put( )
Which class sets the file buffers to read and write ?
Cin class
File stream class
Filebuff class
File class
Which member records information on the status of a file currently using ?
Readstate( )
Getstate( )
State( )
Rdstate( )