Please explain class & object in c++?
No Answer is Posted For this Question
Be the First to Post Answer
How do you differentiate between overloading the prefix and postfix increments?
Difference between class and structure.
Can you overload the operator+ for short integers?
What is the use of pointer in c++ with example?
What is the latest c++ standard?
CAN U SAY WHICH PROGRAMING LANGUAGE IS USED BY DOCTORS....?
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 the difference between stack and heap memory?
What is the difference between an external iterator and an internal iterator?
Define a pdb file.
Write a corrected statement in c++ so that the statement will work properly. x =+ 7;
What is the difference between a template and a macro?