C make use of structures, function concepts, pre-processor statements,pointer and some build in function etc. to develop application and program.Where as C++ is superset of C and has more object based concepts such as class, overloading, Inheritance, polymorphism etc. apart from mentioned earlier C concepts, which gives more flexibility in developing object oriented application/GUI/CGI etc. Mukesh Chauhan ?Bangalore
rajesh
Nov 18th, 2005
C++ is object oriented but c is not object oriented.c is a?procedural language but C++ is not a?procedural language.
ajay kumar verma
Nov 23rd, 2005
C++ is a object oriented programing language and C is not a object oriented language. C++ was more familiar with compereson to c,and gives more solutions of all kinds of programing needs like inheritence, opreator overloadind, and also more sharpness. and C is a middle level language becouse it combines elements of high level language with the functionality of an assembly language, also C is a structured language. C++ gives as a object oriented approch it consist of inheritence, reusabilty, virtual function .
anandh
Dec 3rd, 2005
c is top down approch. Whereas c++ is bottom down approach
Dhruw Gupta
Dec 8th, 2005
C has no data security while c++ has the security of data,anyone can access the data of c programe while in c++ only member of class can access the data ,outsider can't acess the data
RAJESH
Dec 10th, 2005
Here u written C++ is a "Bottom down appraoch",It's "Bottom up approach" .thank u.
sarika
Dec 12th, 2005
c is Structual and top-down approch where as c++ is objectoriented lang.
There are many differences between c and c++ but some of the important are 1.A small but potentially important difference between c and c++ is that in c a character constant is automatically elevated to and integer whereas in c++ it is not.2.In c we can declare the global variable several times eventhough it is a bad programming concept but in c++ it is an error.3.Another subtle difference between c and c++ is that in c++ all functions must be prototyped.Remember in c prototypes are recommended but technically optional.
narayana
Apr 6th, 2006
c++ have all the functions of c in addition to that c++ have some special functions like Manipulators , constructors,destructors ..........
shweta
Apr 25th, 2006
it's not like c++ has functions but c dosen't have it.
c also has functions.
ahuja
Aug 29th, 2006
i think c++ is bottom-up approach not a bottom down approach
1.In c++ local variables can be declared anywhere with in block.in c, they must be declared at the start of block before any "action" statements occurs.
2.In c++ all functions must be prototyped.This is option in c.
3.in c charactor constant is automatically elevated to an integer.In c++ it is not.
4.in c,although it is unusual,you can call main() from within your program,This is not allowed in c++.
deepam chakraborty
Oct 15th, 2006
there are ofcourse many differences between c and c++, but another main advantage of using c++ over c is that it provides polymorphism or you may call data security in other sence which we cannot be able to find in C.
NAVEEN
Nov 24th, 2006
DIFFERENCE B/W C&C++.
CC++
1.C IS PROCEDURE ORIENTED LANGUAGE. 1.C++OBJECT ORIENTED PROGRAM
2.NO FUNCTION OVERLOADING. 2.FUNCTION OVERLOADING.
Hi. Please review your answer.And if you are confident please give us more explanation on it.Thanks
Deepak G M
May 31st, 2007
I have no issues with the differences others have mentioned. But there is a small misunderstanding about C++. C++ is not a object oriented language instead C++ supports object oriented programming. An object oriented language would be one that has its entry point contained in a class. Java is a completely object oriented language since its main function is inside the class.
Akhilesh Tomar
Aug 23rd, 2007
1. C is procedural lang while C++ is OPPS based ?2. C++ is flexible in declaration of variables. You can define them any where when u need. 3. Casting is allowed in C++ (int p=int(square(12)); 4. C++ use top-down approach while C bottom-up 5. Memory allocation/deallocation is done by two keywords "malloc" and "free" in C while we use "new" and "delete" in C++
What is the difference between c&c++?
Related Answered Questions
Related Open Questions