Friday 3 February 2017

Concepts of OOPs

There are Five concepts of OOps
1. Encapsulation:- It is the process to combine data members and member function into a single unit.
2. Abstraction;  It is the process of showing essential features and hiding all the details in C++.

Thursday 2 February 2017

know about C++

C++ is the advance version of C.  C++ is considered as a High Level language...  It is compiler dependent programming language..in some text book it it written as middle level language but it is High Level Language.  Basically it is an object oriented programming language which is close to real world.
There are five basic concepts of OOPs
1.  Encapsulation
2.  Abstraction
3.  Inheritance
4.  Modularity
5.  Inheritance


Wednesday 1 February 2017

CBSE Board Exam Stress Management


Pre and Post Increments


We cannot use pre and post in a single statement because it is compiler dependent program....
like 
int a =10;
cout<<++a + a++ + a++;
It is absolutely compiler dependent program..



int A=900, B=100;
A++;
cout<<A<<endl;
++B;
cout<<B<<endl;
int A=900, B=100;
A+=B++;
cout<<A<<B<<endl;
A+=++B;
cout<<A<<B<<endl;
900
101
1000101
1102102

Basics of C++