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 |
How do you print for example the integers 3,2,1,5,4 in a binary tree within the console in format where it looks like an actual binary tree?
write infinite loop in C++ which does not use any variable or constant?
What is constructor in C++?
What is the full form of india?
what are prototypes
How to detect memory leaks in c++
CAN U SAY WHICH PROGRAMING LANGUAGE IS USED BY DOCTORS....?
If there are two catch statements, one for base and one for derived, which should come first?
In what situations do you have to use initialization list rather than assignment in constructors?
If dog is a friend of boy, and terrier derives from dog, is terrier a friend of boy?
Which function cannot be overloaded c++?
What is the basic of c++?