Why was c++ made?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C++ General Interview Questions

When do we use copy constructors?

0 Answers  


What is general form of pure virtual function? Explain?

0 Answers  


What are its advantages and disadvantages of multiple inheritances (virtual inheritance)?

0 Answers  


Explain how a pointer to function can be declared in C++?

0 Answers  


What is the full form of c++?

0 Answers  






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

4 Answers  


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

2 Answers   Quark,


Which operator cannot overload?

0 Answers  


What is difference between shallow copy and deep copy? Which is default?

1 Answers  


What are special characters c++?

0 Answers  


what do you mean by volatile variable?

0 Answers  


Define private, protected and public access control.

0 Answers  


Categories