what is VOID?
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
How does the copy constructor differ from the assignment operator (=)?
Are strings mutable in c++?
Can static member variables be private?
Why is standard template library used?
What is c++ virtual inheritance?
What is this weird colon-member (" : ") syntax in the constructor?
What is implicit conversion/coercion in c++?
Define copy constructor.
Is c++ high level programming language?
How a modifier is similar to mutator?
What are the 3 levels of programming languages?