Features of C++
Hello friends once again we discuss some Features of C++ programming language; The main features of this programming language is;
Some main features are given below;
- It is object oriented programming language.
- It is easy to learn and use.
- In this language you can easily define variable any where in programming
- C++ Support Encapsulation
- It support Inheritance
- It also support Polymorphism
- It support Data Abstraction concept
In C programming you need to define any variable at top of program but here you can define variable any where in program
void main
{
clrscr();
print("Enter any number:");
int a;
scanf("%d", &a);
printf("%d",a);
getch();
}
Output:
Enter any number: 5
5
I hope these features are helpful to learn Features of C++. For more detail you can visit our website.
No comments:
Post a Comment