Comment on c++ standard exceptions?
No Answer is Posted For this Question
Be the First to Post Answer
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; }
Write a corrected statement in c++ so that the statement will work properly. x =+ 7;
What is the maximum value of a unsigned char a) 255 b) 256 c) 128
Difference between delete and free.
What is public, protected, private in c++?
What is the correct syntax for inheritance a) class aclass : public superclass b) class aclass inherit superclass c) class aclass <-superclass
What does override mean in c++?
Give example of a pure virtual function in c++?
What is slicing?
what is COPY CONSTRUCTOR and what is it used for?
How do you clear a buffer in c++?
Explain one method to process an entire string as one unit?