What is "strstream" ?
Answer / sv
strstream is the class that specializes iostream to use a
strstreambuf for input and output with arrays of characters
in memory.
The class strstream provides functionality to read and
write to an array in memory. It uses a private strstreambuf
object to control the associated array. It inherits from
basic iostream and therefore can use all the formatted and
unformatted output and input functions.
| Is This Answer Correct ? | 3 Yes | 0 No |
Explain the extern storage classes in c++.
why is iostream::eof inside a loop condition considered wrong?
What does count ++ do in c++?
What is the use of register keyword with the variables?
When should overload new operator on a global basis or a class basis?
Is main a class in c++?
What is general form of pure virtual function? Explain?
Why c++ is not a pure oop language?
How would you stop a class from class from being derived or inherited?The constructer should not be Private,as object instantiation should be allowed.
What is the difference between reference type and pointers.
Differentiate between structure and class in c++.
What is pointer in c++ with example?