What is the difference between a "copy constructor" and an "assignment operator" in C++?
No Answer is Posted For this Question
Be the First to Post Answer
When the constructor of a base class calls a virtual function, why doesn't the override function of the derived class gets called?
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 c++ coding?
What does override mean in c++?
What are different types of polymorphism supported by C++
sir there is some problem with nokia5130c-2,when we are trying to upload movies from net then there is a error occurred"FORMAT NOT SUPPORTED" bt its all ready in 3gp format.please tell me what i do now?
How do I use arrays in c++?
Can you Mention some Application of C/C++?
Give example of a pure virtual function in c++?
Can constructor be private in c++?
What are the new features that iso/ansi c++ has added to original c++ specifications?
class Alpha { public: char data[10000]; Alpha(); ~Alpha(); }; class Beta { public: Beta() { n = 0; } void FillData(Alpha a); private: int n; }; How do you make the above sample code more efficient? a) If possible, make the constructor for Beta private to reduce the overhead of public constructors. b) Change the return type in FillData to int to negate the implicit return conversion from "int" to "void". c) Make the destructor for Alpha virtual. d) Make the constructor for Alpha virtual. e) Pass a const reference to Alpha in FillData