Which function is used in C++ to get the current position of file pointer in a file?
a) tell_p()
b) get_pos()
c) get_p()
d) tell_pos ()
Which function is used to reposition the file pointer?
a) move()
b) seekg()
c) get_p()
d) go_p ()
What is the correct format for closing file function?
a) void close();
b) int close();
c) void close[];
d) int close []
A sequence of bytes of infinite length is called
a) stream
b) code
c) library
d) file
Which of the following are functions of stream?
a) logical interface
b) file using open operation
c) dis-associate using close operation
d) all of these
Which of the following stream is used to output file stream and is used to create and write file?
a) if stream
b) of stream
c) fstream
d) none of these