What is string in c++ programming?
No Answer is Posted For this Question
Be the First to Post Answer
How is an Abstract Base Class(ABC) related to an "Abstract Data Type" (ADT)
What are the general quetions are in DEna bank manager IT/System interviews?
write the prime no program in c++?
write a c++ program to create class student having datamember name,Roll_no,age,and branch intilcization all the member using constructor print the all the details on the screen.
What is object oriented programming (oop)?
How a macro differs from a template?
What is the basic difference between C and C++?
What is c++ and its features?
How many types of classes are there 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
Where and why do I have to put the "template" and "typename" keywords?
Which should be more useful: the protected and public virtuals?