What mode will keep the output pointer to the end of file ?
Out mode
Write mode
Trunk mode
App mode
Which function flushes the buffer before terminating the connection of the file with the stream ?
Delete( )
Close( )
Remove( )
Flush( )
Which methods are used for manipulating a file character by character ?
Getline( ), getchar( )
Put( ), get( )
Read( ), write( )
Readline( ), writeline( )
Which of the following header file includes the stream class ofstream ?
Iostream.h
Ostream.h
Fstream.h
Stream.h
What is the role of seekg( ) ?
Get the get pointer position
Reads the get pointer value
Moves getpointer to a specified location
Gives current position of get pointer
What is the syntax to check eof ?
Eof( )
File_name.eof( )
Objectname.eof( )
Method.eof( )
Which file is created by storing an array ?
Ascii file
Binary file
Byte file
String file
Which member records information on the status of a file currently using ?
Readstate( )
Getstate( )
State( )
Rdstate( )
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 command type can display the text file ?
Dos
Display( )
Write( )
Cout