What parameter does the constructor to an ofstream object take?


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

Post New Answer

More C++ General Interview Questions

What is a "Copy Constructor"?

2 Answers  


Is ca high or low level language?

0 Answers  


What is ios class in c++?

0 Answers  


What are the data types in c++?

0 Answers  


Why is main an int?

0 Answers  


What is a stack c++?

0 Answers  


What will the line of code below print out and why?

0 Answers  


What is a static element?

0 Answers  


What are the unique features of C++.

0 Answers  


What is Pure Virtual Function? Why and when it is used ?

10 Answers   Lucent, Sona,


Is recursion allowed in inline functions?

0 Answers  


template<class T, class X> class Obj { T my_t; X my_x; public: Obj(T t, X x) : my_t(t), my_x(x) { } }; Referring to the sample code above, which one of the following is a valid conversion operator for the type T? a) T operator T () { return my_t; } b) T operator(T) const { return my_t; } c) operator(T) { return my_t; } d) T operator T (const Obj &obj) { return obj.my_t; } e) operator T () const { return my_t; }

1 Answers   Quark,


Categories