What is iostream in c++ used for?



What is iostream in c++ used for?..

Answer / Pritee Hardiha

iostream in C++ is a standard library that provides classes for input and output operations. It allows reading from and writing to streams like the console, files, and strings.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C++ General Interview Questions

What is size of a object of following class? class Foo { public: void foo(){} }

2 Answers   CA,


Is it possible to provide special behavior for one instance of a template but not for other instances?

1 Answers  


What are the main differences between C and C++?

1 Answers  


Is c++ an oop?

1 Answers  


Write a recursive program to calculate factorial in c++.

1 Answers  


Explain what are single and multiple inheritances in c++?

1 Answers  


What is a c++ class?

1 Answers  


What is the difference between the functions rand(), random(), srand() and randomize()?

1 Answers  


What is the difference between #import and #include in c++?

1 Answers  


What is guard code in c++?

1 Answers  


Is it possible to pass an object of the same class in place of object reference to the copy constructor?

1 Answers  


What do the header files usually contains?

1 Answers  


Categories