Is atoi safe?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C++ General Interview Questions

What does iomanip mean in c++?

0 Answers  


Can we specify variable field width in a scanf() format string? If possible how?

0 Answers  


What is a node class in c++?

0 Answers  


What it is and how it might be called (2 methods).

0 Answers  


what are the characteristics of Class Members in C++?

0 Answers  






What is static function and static class?

4 Answers   HCL,


Differentiate between an inspector and a mutator ?

0 Answers  


What is ios :: in in c++?

0 Answers  


What is c++ hash?

0 Answers  


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

2 Answers   Quark,


What are the benefits of oop in c++?

0 Answers  


What are member functions used in c++?

0 Answers  


Categories