- C appeared in 1972 while C++ in 1985
- C influenced by B (BCPL, CPL),ALGOL 68, Assembly while Cpp C, Simula, Ada 83, ALGOL 68,CLU,ML
- C was developed Dennis Ritchie & Bell Labs while C++ Bjarne Stroustrup
- C follows the procedural programming paradigm while C++ is a multi-paradigm language (Procedural as well as Object Oriented)
- In C data is not secured while in C++ data is secured (hidden)
- C is a low – level language while C++ is a middle level language.
- C uses the top-down approach while C++ uses the bottom-up approach
- C is function-driven while C++ is object –driven
- C++ supports function overloading while C does not
- We can use functions inside the structure in C++ but not in C
- The NAMESPACE feature in C++ is absent in case of C
- The standard input & output in C++ is cout<< & cin>> while C is printf & scanf
- C++ allows the user of reference variables while C does not
- C++ supports Exception Handling while C does not
- The usual filename extensions C is .c while C++ .cc, .cpp, .hh, .hpp
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment