What is C++ and how to start with C++?

C++ is a programming language language invented and design by Bjarne Stroustrup . It is subset of C programming language.C++ is Object Oriented programming language means it follows the concept of OOPS.
C++ is a general programming language which supports
1. Data Abstraction
2.OOPS
3.generic programming.
General input output In C++. Syntax are as follows

#include<iostream.h>
#include<conio.h>
void main ()
{
int a;
char s[80];
float g;
clrscr();
cin>>a>>s>>g;
cout<<a<<s<<g;
getch();
}

“cin” function is used for taking input in the program and “cout” is used for output of the program.
Run the above program.

Leave a Reply