When to use “const” reference arguments in a function?
No Answer is Posted For this Question
Be the First to Post Answer
Is it possible to get the source code back from binary file?
How will you call C functions from C ++ and vice-versa?
0 Answers Agilent, Tavant Technologies, Thomson Reuters, Verifone,
class X { private: int a; protected: X(){cout<<"X constructor was called"<<endl;} ~X(){cout<<"X destructor was called"<<endl} }; Referring to the code above, which one of the following statements regarding "X" is TRUE? a) X is an abstract class. b) Only subclasses of X may create X objects. c) Instances of X cannot be created. d) X objects can only be created using the default copy constructor. e) Only friends can create instances of X objects.
What are the advantages of inheritance in c++?
How should a contructor handle a failure?
What is the use of seekg in c++?
What are disadvantages of pointers?
What is the role of static keyword for a class member variable?
What are stacks? Give an example where they are useful.
What is the difference between cin.read() and cin.getline()?
What is flush c++?
In which memory a class gets stored(in heap /in stack)? And why??