Showing posts from February, 2016

Defining Operator overloading

An operator could be overloaded with the help of a special function called operator function, the general fo…

Restriction on Operator Overloading

Cannot change: 1. Precedence of operator (order of evaluation) Use parentheses to force an order of operat…

What is Operator overloading ?

Operator overloading is one of the exciting features of C++.  All the built-in operator can be applied to ba…

What is Polymorphism?

Polymorphism simply means “one name, multiple forms”.

What is Friend Class?

With the possibility of friend function, we can also define a class as a friend of the another one, granting…

Write a program using friend function

Class sample {            private: int a, b;           public:void setvalue()          {                 …

What is Friend Function?

Private member function can’t be accessed from outside the class. That is a non-member function can’t access…

Objects as function arguments

Like any other data type, an object may be passed as a function argument. It can be done in two ways a copy…

Syntax of css?

Declaration of Syntax in CSS: In the declaration part we define the one or more than one declarat…

TCS Walkins

TCS Walkins is here: Click for more detail Another IT PROFESSIONAL WALKINS AT TCS: click …

What are Destructors?

A destructor as the name implies used to destroy the objects that have been created by constructor. Like a c…

What is Copy Constructors?

A copy constructor is used to declare and initialize an object from another object. class integer {        …

What is Parameterized Constructors?

The constructors that can take arguments is known as parameterized constructors. With the parameterized cons…

What is Const Object?

Making variables const ensures that their values are not accidentally changed. Just like the built-in data…

What are Static member functions ?

Like static member variables, we can also have static member functions. It has the following properties: A …

What are Static data members ?

The data member of a class can be declared as static. A static members variables certain special characteris…

what is css?

CSS:: It stands for Cascading Style Sheets. This file embed with HTML5  .When StyleSheet link with HTML5  …

How to set image in html?

IMAGE:: It is defined with <img> tag. <img> tag doesnot have a closing tag. For example:: …

Defining member function

Member function can be defined in two places (a) outside the class definition. (b) inside the class defini…

Procedure of Creating Objects

Consider the following Procedure of Creating Objects: Objects are basic run time entities The declaratio…

What are Access modifiers ?

One of the key features of data hiding is achieved through private keywords The class members which have b…

Classes and Objects

A class is a user defined data types which binds the data and associated functions together. Generally a cla…

Load More
That is All