0% found this document useful (0 votes)
365 views1 page

Oop Chapter 5

Uploaded by

arya.murudkar22
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
0% found this document useful (0 votes)
365 views1 page

Oop Chapter 5

Uploaded by

arya.murudkar22
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
You are on page 1/ 1
KHARAT ACADEMY ~~ Subject - Object Oriented Programming using C++ (OOP — 22316) =| (IMP Questions with Answers) TICE cre I Scheme - MSBTE Branch: Information Technology (CO/CM/CW/IF) (Weightage - 08 Marks) 1. Give syntax and use of fclose( ) function. Answer: Syntax: int fclose(FILE* stream); Use: This function is used to close a file stream. The data that is buffered but not written is flushed to the OS and all unread buffered data is discarded 2. Describe meaning of the following (i) ios : : in (ii) ios: : out OR 3. Write the use of ios :: in and ios’: out. in - It isa file'mode. It is used to open a file in read only mode. ii) ios :: out - Itis‘afile mode. It is used to open a file in write only mode.

You might also like