difference between c and c++?
Answers were Sorted based on User's Feedback
Answer / asri
c is procedure oriented language and gives importance to
procedure that is functions rather than data.c is middle
level language.
c++ is object oriented language and gives importance to
object that is data
c++ is high level language
Is This Answer Correct ? | 393 Yes | 36 No |
Answer / abhisek pramanik
1] c is procedure oriented programing & c++ is object
oriented programing.
2] we can't do programing through class in c,but we can do
in c++.
3] c is top to bottom programing approach, c++ is bottom to
top programing approach.
4] c++ is high level language,c is low level language.
5] c++ accept all the feature & function of of c & its own
properties,but it is not happened in c.
6] data can move in c openly arround in the system from
function to function.In c++ data is hidden can't be
accessed by external function.
Is This Answer Correct ? | 124 Yes | 18 No |
Answer / kaustubh mahajan
C is procedure oriented programming & c++ is object
oriented programming.
c++ contains classes & object,c++ does not require format
specifier for printing & scanning variables.
Is This Answer Correct ? | 131 Yes | 31 No |
Answer / mahesh
=>c does not a class/object concept
=>c++ provides data encapsulation,data
abstraction,polymorphism.
=>c++ support all c syntax
=>in c passing value to a function is "call by value"
where c++ its "call by reference"
Is This Answer Correct ? | 173 Yes | 78 No |
Answer / manish jangid
C++ is the hight level language, but C is low level
language.
C++ can support of all function of C, but C can't support
of all function of C++.
We can work with Class in C++, But we can't work with Class
in C
C++ is a object oriented language but C is not OOPS
C is the Top to bottom , but C++ is bottom to Top language.
Is This Answer Correct ? | 110 Yes | 54 No |
Answer / muneeswari
c is structured design,c++ is object oriented design
c is top-down approach,c++ is bottom-top approach
c++ is required acces specifiers,c is not required acces
specifiers
c++ is client server model
Is This Answer Correct ? | 55 Yes | 8 No |
Answer / satish kumar sinha
*c is the procedure oriented programing.
*c++ is the object oriented programing.
*c give the important on the procedure istade of data.
*c++ give the important on the data.
*c the data can pass through the fuction to fuction.
*c++ the data is hide in the fuction and the data is stolen
through the external function.
*c is the low level language.
*c++ is the high level language.
*c++ havig extra benifits data can hide in the fuction
(encapsulation),polymorphism,templets,file
handeling,inharitance.
Is This Answer Correct ? | 54 Yes | 13 No |
Answer / munish kumar
Main difference between c and c++ are:
1.) In c++, there is strict typechecking and in c, there is
no strict typechecking. So, many programes which can
compiled by c compiler cannot be compiled by c++ compiler.
2.) In c, there is only "EARLY BINDING", whereas in c++,
there are "EARLY BINDING & LATE BINDING".
3.)C++ IS HIGH LEVEL LANGUAGE BUT 'C' IS LOW LEVEL LANGUAGE.
4.)In c++,there is a new concept of "INLINE FUNCTIONS",
whereas in c, there are macros.
5.)C++ is a object oriented language but C is not OOPS.
Is This Answer Correct ? | 58 Yes | 19 No |
Answer / shanky garg
1 C++ OBJECT ORIENTED PROGRAMMING BUT 'C' IS PROCEDURE
ORIENTED PROGRAMMING
2 C++ IS HIGH LEVEL LANGUAGE BUT 'C' IS LOW LEVEL LANGUAGE
3 C++ IS GOING TO BOTTOM TO TOP BUT 'C' IS GOING TO TOP TO
BOTTOM
Is This Answer Correct ? | 57 Yes | 29 No |
Answer / sumanth
c is procedure oriented language and gives importance to
procedure that is functions rather than data.c is middle
level language.
c++ is object oriented language and gives importance to
object that is data
c++ is high level language
c++ havig extra benifits data can hide in the fuction
(encapsulation),polymorphism,templets,file
handeling,inharitance.
c is structured design,c++ is object oriented design
c is top-down approach,c++ is bottom-top approach
c++ is required acces specifiers,c is not required acces
specifiers
c++ is client server model
In c++,there is a new concept of "INLINE FUNCTIONS",
whereas in c, there are macros.
C++ is a object oriented language but C is not OOPS.
Is This Answer Correct ? | 23 Yes | 1 No |
Differentiate between a pointer and a reference with respect to c++.
What will the line of code below print out and why?
Differentiate between a constructor and a method in C++.
What is the Difference between "printf" and "sprintf"?
7 Answers iSoft, PentaWare, TCS,
how to explain our contribution in the project?
What do c++ programmers do?
How is c++ different from java?
Can c++ be faster than c?
What is c strings syntax?
Is c++ a difficult language?
what is importance of data sturture in a programming language?
22 Answers L&T, TCS, Wipro,
What is virtual destructors? Why they are used?