Write a recursive program to calculate factorial in c++.
No Answer is Posted For this Question
Be the First to Post Answer
What is doubly linked list in c++?
How the programmer of a class should decide whether to declare member function or a friend function?
How does list r; differs from list r();?
What is size of a object of following class? class Foo { public: void foo(){} }
When should I use unitbuf flag?
Explain what are single and multiple inheritances in c++?
What c++ is used for?
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 are destructors?
Explain rethrowing exceptions with an example?
What are static and dynamic type checking?
Explain the properties and principles of oop.