What are formatting flags in ios class?


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

Post New Answer

More C++ General Interview Questions

Does c++ vector allocate memory?

0 Answers  


What is diamond problem in c++?

0 Answers  


Write a C++ Program to Multiply two Numbers

1 Answers  


When do we run a shell in the unix system?

0 Answers  


What is the topic of the C++ FAQ list?

1 Answers  






Define a nested class. Explain how it can be useful.

0 Answers  


How can you quickly find the number of elements stored in a a) static array b) dynamic array ? Why is it difficult to store linked list in an array?how can you find the nodes with repetetive data in a linked list?

0 Answers  


Define the process of handling in case of destructor failure?

0 Answers  


How do you define a class in c++?

0 Answers  


Is map ordered c++?

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 is data Abstraction

2 Answers  


Categories