What is a manipulator in c++?


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

Post New Answer

More C++ General Interview Questions

What are the benefits of oop in c++?

0 Answers  


What are register variables?

0 Answers  


What is the best c c++ compiler for windows?

0 Answers  


How do you import payscale data from non SAP to SAP?is it through LSMW or any other way is there?

0 Answers  


Explain Memory Allocation in C/C++ ?

0 Answers   Infosys,






What does asterisk mean in c++?

0 Answers  


What is a .h file c++?

0 Answers  


What are the different operators in C++?

3 Answers   HP,


When there is a global variable and local variable with the same name, how will you access the global variable?

0 Answers  


What is the difference between set and map in c++?

0 Answers  


How to avoid changing constant values?

2 Answers   Symphony,


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,


Categories