Can a class be static in c++?
No Answer is Posted For this Question
Be the First to Post Answer
What is a pdb file?
What is expression parser in c++
What is the cout 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
Refer to a name of class or function that is defined within a namespace?
Array base access faster or pointer base access is faster?
Explain differences between alloc() and free()?
why we cant create array of refrences
Is c++ the best programming language?
Difference between class and structure.
What are literals in C++?
Is there any difference between dlearations int* x and int *x? If so tell me the difference?