What are formatting flags in ios class?
No Answer is Posted For this Question
Be the First to Post Answer
Does c++ vector allocate memory?
What is diamond problem in c++?
Write a C++ Program to Multiply two Numbers
When do we run a shell in the unix system?
What is the topic of the C++ FAQ list?
Define a nested class. Explain how it can be useful.
How can you quickly find the number of elements stored in a a) static array b) dynamic array ? Why is it difficult to store linked list in an array?how can you find the nodes with repetetive data in a linked list?
Define the process of handling in case of destructor failure?
How do you define a class in c++?
Is map ordered c++?
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