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 |
What you know about structures in C++?
0 Answers Agilent, ZS Associates,
How do you clear a set in c++?
What is iomanip c++?
Write a program which is required to process the time of a clock in hours and minutes, entered from the keyboard. With this program, there are two requirements for any data entered by a user: 1. The data must be of the correct type (in this case, two ints). 2. The data must be in the correct range: this means that, for the minutes, negative numbers and any number above 59 must be rejected; for the hours, negative numbers and any number above 23 must be rejected. Output error message for invalid data input. Output the time one and a half hour after the time input. i.e. Hour: 22 Min: 32 One and a half hour after 22:32 is 00:02
What is extern c++?
Does c++ support exception handling?
Why is c++ considered difficult?
Is c++ vector dynamic?
Given a simple program designed to take inputs of integers from 1-1000 and to output the factorial value of that number, how would you test this program? You do not have access to the code. Please be as specific as possible.
Who discovered c++?
Can c++ be faster than c?
What are different types of typecasting supported by C++