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
Which mod is used to retain the previous file contents ?
In
Trunk
Add
App
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
Which function flushes the buffer before terminating the connection of the file with the stream ?
Delete( )
Close( )
Remove( )
Flush( )
What will be a zero value of an object after a file operation represents ?
Binary value
Error
Object value
Ascii value
Which class contains tellg( ) member function ?
Iostream
Istream
Ostream
Stream
What closes the file when the program terminates ?
Object
Class
Constructor
Destructor
Which are the modes in which a file can be opened ?
Input mode, output mode
Read and write mode
Entry and exit mode
In and out mode
When will good( ) function returns 1 ?
No bits are set
Error occurs
Eof occurs
All bits are set
Which of the following is a member of istream class ?
%
( )
>>
<<