What are shallow and deep copy?
No Answer is Posted For this Question
Be the First to Post Answer
Why seem interrupt handlers as member functions to be impossible?
how many trys can we write in one class
When do we use copy constructors?
Why do we need pointers?
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?
write a programme to get a character and thier ASCII value
What is an object in c++?
How does class accomplish data hiding in c++?
Comment on local and global scope of a variable.
Write a corrected statement in c++ so that the statement will work properly. if (4 < x < 11) y=2*x;
Can I learn c++ without c?