what is the main difference between c and c++?

Answers were Sorted based on User's Feedback



what is the main difference between c and c++?..

Answer / pratap

C:c is a structure oriented language C:c++ is a object oriented language
C: program the main function could not return a value
C++:c++ the main function should return a value
C:c data is not secured
C++:c++ is a secured

Is This Answer Correct ?    0 Yes 0 No

what is the main difference between c and c++?..

Answer / abhishek gautam

C is a procedural programming language whereas C++ is an
object oriented programming language

Is This Answer Correct ?    0 Yes 0 No

what is the main difference between c and c++?..

Answer / abhishek gautam

C does not supports operator overloading but C++ supports.
C focus on procedure whereas C++focus on data.

Is This Answer Correct ?    0 Yes 0 No

what is the main difference between c and c++?..

Answer / prabhu

C is a Procedure Oriented Language(POP)

C++ is Object Oriented Programming Language(OOP)

C is Top-Down Approach
C++ is Bottom up Approach

Is This Answer Correct ?    0 Yes 0 No

what is the main difference between c and c++?..

Answer / bhagyasree

In c++ the data is secured as we have the concepts of data
hiding but in C the data is not secured.And moreover c is a
low level language whereas c++ is a middle level language.

Is This Answer Correct ?    0 Yes 0 No

what is the main difference between c and c++?..

Answer / anky

C++ is an extension of C language. This means that you can
not only use the new features introduced with C++ but can
also use the power and efficiency of C language. C and C++
are no more language for writing compilers and other
languages, these general purpose languages are used
worldwide in every field.
Here is a list of differences between c and c++.
The main difference between C and C++ is that C++ is object
oriented while C is function or procedure oriented. Object
oriented programming paradigm is focused on writing programs
that are more readable and maintainable. It also helps the
reuse of code by packaging a group of similar objects or
using the concept of component programming model. It helps
thinking in a logical way by using the concept of real world
concepts of objects, inheritance and polymorphism. It should
be noted that there are also some drawbacks of such
features. For example using polymorphism in a program can
slow down the performance of that program.
On the other hand, functional and procedural programming
focus primarily on the actions and events, and the
programming model focuses on the logical assertions that
trigger execution of program code.

Is This Answer Correct ?    0 Yes 0 No

what is the main difference between c and c++?..

Answer / vani

C is procedural language while c++ is an object oriented and procedural language.

Is This Answer Correct ?    0 Yes 0 No

what is the main difference between c and c++?..

Answer / sonu

>C is Procedure Oriented Programming Language (POP).
->C++ is Object Oriented Programming Language (OOP).


->C is mostly used to develop system software.
->C++ is mostly used to modal real life problem to program and use to develop application programs.


->C program has extension .C
->C++ program has extension .cpp

->C uses the top-down approach.
->while C++ uses the bottom-up approach.

->C is function-driven.
->while C++ is object-driven.

Is This Answer Correct ?    0 Yes 0 No

what is the main difference between c and c++?..

Answer / akash dilwaria

c is function driven while c++ is object driven,
c++ supports function overloading while c does not ;
c is a top down approach while c++ follows bottom up approach.

Is This Answer Correct ?    0 Yes 0 No

what is the main difference between c and c++?..

Answer / santosh kumar

the main difference between c and c++ is c++ is more user
freindly when compared to c. even though c++ is a more
advanced language than c we have to make a note that it is
derived frm c and even now c has its own importance in
programing

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More OOPS Interview Questions

c++ is a purely oop concept?

3 Answers   Google, TCS,


What is abstraction?

9 Answers  


What is virtual destructor? Why?

3 Answers   Agile Software, College School Exams Tests, CSC,


3. Differentiate verification and validation.

1 Answers  


what is difference between String s=new String("vali"); String s="vali"

1 Answers  






What is encapsulation c#?

0 Answers  


What do you mean by overloading?

0 Answers  


What are benefits of oop?

0 Answers  


Write a program to demonstrate the use of 'Composition' in C++

2 Answers  


What is the point of oop?

0 Answers  


What is the difference between a constructor and a destructor?

0 Answers  


what is the difference b/w abstract and interface?

2 Answers   Merrill Lynch, Schneider, Scio Healthcare,


Categories