Computer Science - Object Oriented Programming Using C++ - Discussion
Discussion Forum : Object Oriented Programming Using C++ - Section 1 (Q.No. 48)
48.
The _____ mode tells C++ to open a file for input
Discussion:
4 comments Page 1 of 1.
Lakshyajit said:
1 decade ago
ios means input output streams, :: it is scope resolution operator and in is for input operation.
ios::out = Open for output operation.
ios::in = Open for input operation.
ios::out = Open for output operation.
ios::in = Open for input operation.
Sudarshan patidar said:
4 years ago
ios::in allows input (read operations) from a stream.
ios::out allows output (write operations) to a stream.
ios::out allows output (write operations) to a stream.
(1)
Sangeetha said:
10 years ago
Ios :: In Open a file for read operation not for inputting.
Sumit said:
1 decade ago
Please provide explanation.
Post your comments here:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers