ExamVeda
Login
Home
41
Which function is used to read a line from a file in C++?
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board
42
By default, all the files in C++ are opened in . . . . . . . . mode.
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board
43
Which header file is required to use file I/O operations?
Discuss
Answer & Solution
Answer: Option C
No explanation is given for this question. Let's Discuss on Board
44
Which function is used to reposition the file pointer?
Discuss
Answer & Solution
Answer: Option B
No explanation is given for this question. Let's Discuss on Board
45
Which of the following is not used as a file opening mode?
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board
46
Which of the following is used to create an output stream?
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board
47
What is the use of ios::trunc mode?
Discuss
Answer & Solution
Answer: Option D
No explanation is given for this question. Let's Discuss on Board
48
Which of the following is not used to seek file pointer?
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board
49
Which of the following is the default mode of the opening using the ifstream class?
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board
50
Which of the following is used to create a stream that performs both input and output operations?
Discuss
Answer & Solution
Answer: Option D
No explanation is given for this question. Let's Discuss on Board