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

Learn C plus plus

Smart Answer

C++ : Type Conversions

We know that when constants and variables of different types are mixed in an expression, C applies automatic type conversion to the operands as per certain rules.Similarly,an assignment ...

Smart Answer

C++ : Destructors

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

Smart Answer

C++ : Functions

Introduction We know that function play an important role in C program development.Dividing a program into function is one of the major principles of top-down, structured programming.Another advantages ...

Smart Answer

C++ : Constructors

Introduction A constructor is a special member function whose task is to initialise the object of its class.it is special because its name is same as the class ...

Smart Answer

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 a variable acted on by an operator.) Examples ...

Smart Answer

C++ : Operator Overloading

Introduction Operator overloading is one of the most exciting features of object-oriented programming. It can transform complex, obscure program listings into intuitively obvious ones. For example, statements like ...

Smart Answer

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 name) for a previously defined variable. A reference ...

Smart Answer

C++ : Data Type, Storage Classes

User-Defined Data Types Structure General form of structure definition is as follow:   struct name { data type member1; data type member2; … … };   Structure important ...

Smart Answer

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 Operators A C++ program is written using these ...

Smart Answer

Learn Basics of C++

Simple C++ Program #include <iostream> Using namespace std; int main() { int number1; cin >> “Enter number1”; cout << number1; cout << “c++ is better than c n”; ...