What is one dimensional array in c++?
No Answer is Posted For this Question
Be the First to Post Answer
What is the use of volatile variable?
Hi i need to Acess a variable "int Intval" in the below mentioned code .How to Access it guys i am waiting for your reply
What is stream and its types in c++?
How is c++ used in the real world?
Explain the difference between 'operator new' and the 'new' operator?
What are the rules for naming an identifier?
What does flush do?
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
Is java the same as c++?
Explain deep copy and a shallow copy?
Is c++ the hardest language?
Is there a datatype string in c++?How is the memory allocation?