Explain the different access specifiers for the class member in c++.
No Answer is Posted For this Question
Be the First to Post Answer
What does std :: flush do?
What are shallow and deep copies?
What is a class template?
What is general format for a prototype?
What is prototype in c++ with example?
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.
Why is standard template library used?
Why is it necessary to use a reference in the argument to the copy constructor?
Write a C/C++ program that connects to a MySQL server and checks if the InnoDB plug-in is installed on it. If so, your program should print the total number of disk writes by MySQL.
What is using namespace std in cpp?
What is tellg () in c++?
How the memory management in vectors are being done. What happens when the heap memory is full, and how do you handle it ?