What are the basics of local (auto) objects?
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; }
What do you mean by persistent and non persistent objects?
What is basic if statement syntax?
What is a parameterized type?
If dog is a friend of boy, and terrier derives from dog, is terrier a friend of boy?
What is the difference between passing by reference and passing a reference?
What is an incomplete type in c++?
Describe the syntax of single inheritance in C++?
Show the declaration for a pointer to function returning long and taking an integer parameter.
What you mean by early binding and late binding? How it is related to dynamic binding?
Where is atoi defined?
Is recursion allowed in inline functions?