Why was c++ made?
No Answer is Posted For this Question
Be the First to Post Answer
When do we use copy constructors?
What is general form of pure virtual function? Explain?
What are its advantages and disadvantages of multiple inheritances (virtual inheritance)?
Explain how a pointer to function can be declared in C++?
What is the full form of c++?
write a program in c++ to generate imp z y x w v w x y z z y x w x y z z y x y z z y z z
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
Which operator cannot overload?
What is difference between shallow copy and deep copy? Which is default?
What are special characters c++?
what do you mean by volatile variable?
Define private, protected and public access control.