Why use of template is better than a base class?
No Answer is Posted For this Question
Be the First to Post Answer
what is the use of void main() in C++ language?
Is c++ double?
what is the difference between linear list linked representaion and linked representation? what is the purpose of representing the linear list in linked represention ? is it not avoiding rules of linear represention?
What is the difference between shallow copy and deep copy?
class X { public: int x; static void f(int z); }; void X::f(int y) {x=y;} What is the error in the sample code above? a) The class X does not have any protected members. b) The static member function f() accesses the non-static z. c) The static member function f() accesses the non-static x. d) The member function f() must return a value. e) The class X does not have any private members.
write a c++ program to create class student having datamember name,Roll_no,age,and branch intilcization all the member using constructor print the all the details on the screen.
What is virtual destructor ans explain its use?
What is the use of c++ programming language in real life?
What are the various access specifiers in c++?
How is modularity introduced in C++?
What does namespace mean in c++?
What is pure virtual function? Or what is abstract class?