Is c++ still being used?
No Answer is Posted For this Question
Be the First to Post Answer
What is scope resolution operator in c++ with example?
Where the memory to the static variables is allocated?
What is data structure in c++?
What do you mean by overhead in c++?
What is pair in c++?
Compare compile time polymorphism and Runtime polymorphism
What is an adaptor class or wrapper class in c++?
What is the oldest programming language?
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
Explain rethrowing exceptions with an example?
What is atoi in c++?
What is the use of c++ programming language in real life?