In C++ cout is:
a) object
b) class
c) something else
Answers were Sorted based on User's Feedback
Answer / sriram
ANSWER IS C. COUT IS AN BUID IN OPERATOR THAT WAS DEFINED
IN HEADER FILE: <IOSTREAM.H>
SINCE, IN C++ COUT IS AN CONSOLE OUTPUT OPERATOR.
| Is This Answer Correct ? | 2 Yes | 17 No |
What is do..while loops structure?
When the constructor of a base class calls a virtual function, why doesn't the override function of the derived class gets called?
Difference between Operator overloading and Functional overloading?
What do you mean by vtable and vptr in c++?
Tell me can a pure virtual function have an implementation?
Explain "const" reference arguments in function?
How delete [] is different from delete?
Difference between overloading vs. Overriding
If a base class declares a function to be virtual, and a derived class does not use the term virtual when overriding that class, is it still virtual when inherited by a third-generation class?
What is a dangling pointer?
Write a program to find the Fibonacci series recursively.
class HasStatic { static int I; }; Referring to the sample code above, what is the appropriate method of defining the member variable "I", and assigning it the value 10, outside of the class declaration? a) HasStatic I = 10; b) int static I = 10; c) static I(10); d) static I = 10; e) int HasStatic::I = 10;