1.

Explain the difference between C & C++?

Answer»
S.noC Programming LanguageC++ Programming Language
1.C is a procedural programming languageC++ is a procedural and object-oriented programming language
2.The data and FUNCTIONS are different entitiesC++ data and functions both are encapsulated together into an object
3.Functions cannot be defined inside the structuresFunctions can be described inside the structures
4.The information cannot remain hidden so that it can be manipulated by another codeEncapsulation hides the data THUS PROTECTING the data to GET used by another code


Discussion

No Comment Found