What is one dimensional array in c++?
What are virtual functions in c++?
Difference between const char* p and char const* p?
How the memory management in vectors are being done. What happens when the heap memory is full, and how do you handle it ?
What is anonymous object in c++?
What is the use of main function in 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 you know about structures in C++?
0 Answers Agilent, ZS Associates,
Types of storage and scope of each type
what does the following statement mean? int (*a)[4]
Can create new c++ operators?
What is the iunknown interface?
What is the difference between an array and a list?