C++ : Type Conversions

We know that when constants and variables of different types are mixed in an expression, C applies automatic type conversion ...
Read more

C++ : Destructors

A destructor, as the name implies is used to destroy the objects that have been created by a constructor. Like ...
Read more

C++ : Functions

Introduction We know that function play an important role in C program development.Dividing a program into function is one of ...
Read more

C++ : Constructors

Introduction A constructor is a special member function whose task is to initialise the object of its class.it is special ...
Read more

C++ : Overloading Unary, Binary Operator

Operator Let’s start off by overloading a unary operator. unary operators act on only one operand. (An operand is simply ...
Read more

C++ : Operator Overloading

Introduction Operator overloading is one of the most exciting features of object-oriented programming. It can transform complex, obscure program listings ...
Read more

C++ : Reference Variable, Manipulator and Scope Resolution Operator

  Reference Variable C++ introduces new kind of variable known as the reference variable.A reference variable provide an alias (alternative ...
Read more

C++ : Data Type, Storage Classes

User-Defined Data Types Structure General form of structure definition is as follow:   struct name { data type member1; data ...
Read more

C++ : Tokens, Keywords, Constants & Identifier

Tokens The smallest individual units in a program are known as tokens. C++ has following tokens: Keywords Identifier Constants Strings ...
Read more

Learn Basics of C++

Simple C++ Program #include <iostream> Using namespace std; int main() { int number1; cin >> “Enter number1”; cout << number1; ...
Read more