What may happen when the disc space is filled for a new file ?
Can extend space using a function
Disc space full warning
Error
Program will hang
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
What is the first argument of a seekg( ) function with two arguments ?
Offset
Read offset
Relative offset
Offset size
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 method is used for opening multiple files with same stream ?
Start( )
Open( )
Openstreams( )
Openfile( )
Which file is created by storing an array ?
Ascii file
Binary file
Byte file
String file
What does ios::nocreate describes ?
Don't create a write file
Don't create a read file
Don't open if a file exists
Don't close a file
Which of the following is a member of istream class ?
%
( )
>>
<<
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 the syntax to open a file using stream object ?
Stream_object("file_name");
Stream_object.get("file_name")
Stream_object.open("file_name");
file_name.open( );