What is capacity in vector in c++?
No Answer is Posted For this Question
Be the First to Post Answer
Define a conversion constructor?
What do you mean by global variables?
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 are the benefits of c++?
Reverse the Linked List. Input: 1->2->3->4->5->NULL Output: 5->4->3->2->1->NULL
What's the "software peter principle”?
What are the types of array in c++?
What are 2 ways of exporting a function from a dll?
Is java made in c++?
State the difference between pre and post increment/decrement operations.
What is pointer to member?
What is the full name of logo?