Explain register storage specifier.
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; }
When a function is made inline. Write the situation where inline functions may not work.
What are disadvantages of pointers?
Should the member functions which are made public in the base class be hidden?
What do the header files usually contains?
Write any small program that will compile in "C" but not in "C++"?
How is new() different from malloc()?
Where do I find the current c or c++ standard documents?
What is the basic structure of a c++ program?
Differences between private, protected and public and give examples.
What do you know about near, far and huge pointer?
What is lambda in c++?