what is the main difference between c and c++?
Answers were Sorted based on User's Feedback
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 |
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 |
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 |
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 |
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 |
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 |
Answer / vani
C is procedural language while c++ is an object oriented and procedural language.
| Is This Answer Correct ? | 0 Yes | 0 No |
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 |
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 |
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 |
Whats oop mean?
2. Give the different notations for the class.\
Contrast OOP and SOA. What are tenets of each?
1 Answers Siebel Systems, Wipro,
What is the full form of oops?
what is the difference between class to class type conversion and copy constructor ?
How is polymorphism achieved?
What does enum stand for?
what is runtime polymorphism? For the 5 marks.
What is the difference between C++ and java?
what about you? wahat is your object? introduce your self?
1 Answers Ajmal Perfumes, TCS,
why oops need in programming
Write a macro for swapping integers