Which of the following OOPS concepts are used with cin and cout
-
Data Hiding
-
Encapsulation
-
Operator Overloading
-
None Of the Above
C
Correct answer
Explanation
The standard C++ input/output streams cin and cout utilize operator overloading. Specifically, the bitwise left shift << and right shift >> operators are overloaded as insertion and extraction operators to perform stream I/O operations.