answersLogoWhite

0

There are two stream operators: << (insert or put) and >> (extract or get). Output streams implement the insertion operator, input streams implement the extraction operator and input/output streams implement both operators.

User Avatar

Wiki User

10y ago

What else can I help you with?

Related Questions

What is the name of the 'endl' operator in c plus plus and its purpose?

endl is not an operator. Is is a stream manipulator. It inserts and end-of-line into the stream. cout &lt;&lt; "This is a test" &lt;&lt; endl &lt;&lt; "This is also a test" &lt;&lt; endl; Gives you ... This is a test This is also a test


What is the operator that cannot be overloaded in c plus plus and java?

conditional operator , size of operator , membership operator and scope resulation operator can not be overload in c++


What is the name of the 'setw' operator in c plus plus and its purpose?

setw() is not an operator, it is a parameterized stream manipulator. It sets the width of the field in the output stream which is about to be inserted. cout &lt;&lt; setw(5) &lt;&lt; 9 &lt;&lt; endl; Gives you ....9 Where each dot represents one space.


What is the operator is used to allocate the memory in c plus plus?

calloc operator,malloc operator


What is the operator of power in c plus plus?

There is no "power" operator in C or C++. You need to the use the math library function pow().


Example of binaray operator in c plus plus?

+ is an example, one of many, of a binary operator in C or C++ a = b + c; // for usage example


What is the memory management operator in c plus plus?

There is no memory management operator in C++ -- it is an unmanaged language. You use the C++ new operator to allocate memory, and use the C++ delete operator to release previously allocated memory.


Why are there 2 plus sign in c plus plus and Why not a single plus sign?

In C and in C++, the ++ operator means to increment. C++ was intended to be the next version, i.e. the incremental next step, of C, hence the use of the ++ operator.


What do the two plus stand for in C plus plus?

The ++ in C++ refers to the postfix increment operator (operator++()). It's literal meaning is "the successor to C", in reference to the C language upon which the C++ language is based.


Can the scope resolution operator be overloaded in C plus plus?

No.


Which operator is used for deallocating memory in c plus plus?

delete


Which operator cannot be overloaded c plus plus?

comma (,) is an example