May 13, 2013C++, OOPs Function scope and File scope in C++ Function scope and File scope in C++ The scope for a function or a variable is determined by the place, where it […]
May 8, 2013C++ Constructors and Destructors in C++ Constructors and Destructors in C++ Constructors: To initialize the data members of a class, Constructors are needed. A Constructor function is a […]
May 8, 2013C++ Advantages of reference variables over pointers in C++ Advantages of reference variables over pointers in C++ A reference variable is an alias to a variable already defined. After a reference […]
May 8, 2013C++ Polymorphism in C++ Polymorphism in C++ Polymorphism refers to “One Object Many Forms”. It is one of the most important features of OOPs. Polymorphism is […]
May 8, 2013C++ Virtual function – Difference between a Virtual function and an Overloaded function Virtual function Polymorphism is the property that allows objects of different types to behave differently to the same message. In C++, polymorphism […]
December 30, 2012C++, OOPs Virtual Base class Virtual Base Class: A virtual base class is one that is specified as virtual when it is inherited. If the base class […]
December 30, 2012C++, OOPs ‘inline’ keyword Advantage of using the keyword ‘inline’ before a function: The member functions of a class may be defined inside the class definition […]
December 30, 2012C++, OOPs Scope resolution operator in C++ Function of scope resolution operator: In C++ the scope of a variable is from the point of its declaration till the end […]
December 23, 2012C++, OOPs Function Prototype & Function Overloading Function Prototype: Function prototype also referred to as function signature specifies the number of arguments and return type of the function to […]