Is atoi safe?
No Answer is Posted For this Question
Be the First to Post Answer
What does iomanip mean in c++?
Can we specify variable field width in a scanf() format string? If possible how?
What is a node class in c++?
What it is and how it might be called (2 methods).
what are the characteristics of Class Members in C++?
What is static function and static class?
Differentiate between an inspector and a mutator ?
What is ios :: in in c++?
What is c++ hash?
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 are the benefits of oop in c++?
What are member functions used in c++?