What is the difference between c and c++?
C is procedure oriented programming which concentrates on procedure much,but c++ is object oriented programming where procedure is least bothered..
In c prgrm is divided into smallr part called functions,weras in c++ prgrm is divided in smaller entitiescalled objects.
No cncpt of reusability in c. Bt in c++ th cncpt of reusabilty is introduces.
Eg. Fr procedural prgrming is c ,fortan
Eg. Fr OOP is c++,java.
C does not provide security bcz its global declaration .....cpp ptovide security by using class..only the member in can acces data
C does not provide security..becoz its global declaration..cpp provides security by using class..only the members in can access the data..
C requires format specifiers where c++ does not requires format specifiets to print ....
C++ is an extension of C that adds object-oriented functions to the language such as classes and objects
C is a program oriented language where as c++ is a object oriented language.