Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


What is "strstream" ?



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

Post New Answer

More C++ General Interview Questions

What is c++ similar to?

0 Answers  


What do you mean by funtion prototype?

0 Answers  


How can you quickly find the number of elements stored in a static array? Why is it difficult to store linked list in an array?

0 Answers  


what is the size of a class which contains no member variables but has two objects??? is it 1 or 2??

4 Answers  


What is pure virtual function?

0 Answers  


write a corrected statement so that the instruction will work properly. if (4 < x < 11) y = 2 * x;

0 Answers  


What is the use of "new" operator?

0 Answers  


what are the iterator and generic algorithms.

0 Answers  


Please post the model question paper of hal?

2 Answers  


Check for Balanced Parentheses using Stack?

1 Answers  


What is a loop? What are different types of loops in c++?

0 Answers  


this is to swap to strings....but in output the whole strings are swapped leaving first as it is...why it is so #include<iostream.h> int main() { char a[]="ajeet"; char b[]="singh"; long x=*a; long y=*b; cout<<x<<":"<<y; x=x+y; y=x-y; x=x-y; *a=x; *b=y; cout<<x<<":"<<y; cout<<&a<<endl; cout<<&b<<endl; }

1 Answers  


Categories