Explain the difference between C & C++?
|S.no||C Programming Language||C++ Programming Language|
|1.||C is a procedural programming language||C++ is a procedural and object-oriented programming language|
|2.||The data and functions are different entities||C++ data and functions both are encapsulated together into an object|
|3.||Functions cannot be defined inside the structures||Functions can be described inside the structures|
|4.||The information cannot remain hidden so that it can be manipulated by another code||Encapsulation hides the data thus protecting the data to get used by another code|
Suggest An Answer
No suggestions Available!