Question 17270 – NTA UGC NET JUNE 2023 Paper-1
June 2, 2024Question 8144 – Theory-of-Computation
June 2, 2024OOPS
Question 155
|
Match the following with respect to I/O classes in object oriented programming :
List – I List – II
a. fopen() i. returns end of file
b. fclose() ii. return for any problem report
c. ferror() iii. returns 0
d. feof() iv. returns a file pointer
a-iv, b-i, c-ii, d-iii
|
|
a-iii, b-i, c-iv, d-ii
|
|
a-ii, b-iii, c-iv, d-i
|
|
a-iv, b-iii, c-i, d-ii
|
Question 155 Explanation:
fopen() → returns a file pointer
fclose() → returns end of file
ferror() → return for any problem report
feof() → returns 0
fclose() → returns end of file
ferror() → return for any problem report
feof() → returns 0
Correct Answer: A
Question 155 Explanation:
fopen() → returns a file pointer
fclose() → returns end of file
ferror() → return for any problem report
feof() → returns 0
fclose() → returns end of file
ferror() → return for any problem report
feof() → returns 0
Subscribe
Login
0 Comments