What is c++ vb?
No Answer is Posted For this Question
Be the First to Post Answer
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
What is data abstraction? How is it different from data encapsulation?
How to implement flags?
What are the weaknesses of C++?
What are proxy objects?
What is virtual destructor ans explain its use?
Explain about templates of C++.
What is a class template in c++?
simple c++ program for "abcde123ba" convert "ab321edcba" with out using string
What is a linked list in c++?
What is stl containers in c++?
what is meaning of isa and hsa