Why do we use using namespace std in c++?
No Answer is Posted For this Question
Be the First to Post Answer
What are the advantages of c++? Explain
What is the purpose of templates in c++?
Give an example of run-time polymorphism/virtual functions.
Why do we need c++?
Why are arrays usually processed with for loop?
What is a protocol class?
What is long in c++?
What is the maximum combined length of command line arguments including the space between adjacent arguments?
How do you flush std cout?
What is wrapper class in c++?
class X { public: int x; static void f(int z); }; void X::f(int y) {x=y;} What is the error in the sample code above? a) The class X does not have any protected members. b) The static member function f() accesses the non-static z. c) The static member function f() accesses the non-static x. d) The member function f() must return a value. e) The class X does not have any private members.
What is the main purpose of overloading operators?