What is the insertion operator and what does it do?



What is the insertion operator and what does it do?..

Answer / Sunil Kumar Bansel

The insertion operator (<<) in C++ is a binary stream manipulator that takes an output iterator, an insertion point, and an object to be inserted into the sequence container. It appends the content of the object to the container.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C++ General Interview Questions

If we want that any wildcard characters in the command line arguments should be appropriately expanded, are we required to make any special provision? If yes, which?

1 Answers  


why c++ is not called strictly d super set of c?

3 Answers   Satyam,


What c++ library is string in?

1 Answers  


How delete [] is different from delete?

1 Answers  


Explain "passing by value", "passing by pointer" and "passing by reference" ?

5 Answers  


Why is that unsafe to deal locate the memory using free( ) if it has been allocated using new?

1 Answers  


What is the difference between new/delete and malloc/free?

1 Answers  


Is c# written in c++?

1 Answers  


What is function overriding in c++?

1 Answers  


Which is better c++ or java?

1 Answers  


What is pointer in c++ with example?

1 Answers  


When does the c++ compiler create temporary variables?

1 Answers  


Categories