what is the main difference between c and c++?
Answer Posted / palak
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.
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.
| Is This Answer Correct ? | 16 Yes | 9 No |
Post New Answer View All Answers
What is the full form of oops?
if i have same function with same number of argument but defined in different files. Now i am adding these two files in a third file and calling this function . which will get called and wht decide the precedence?
Why is destructor used?
What is encapsulation selenium?
What type of loop is a for loop?
What is static in oop?
What is the benefit of oop?
What is Difeerence between List obj=new ArrayList(); and ArrayList obj=new ArrayList()?
what are the different types of qualifier in java?
What is the problem with multiple inheritance?
• What are the desirable attributes for memory managment?
assume the program must insert 4 elements from the key board and then do the following programs.sequential search(search one of the elements),using insertion sort(sort the element) and using selection sort(sort the element).
Which type does string inherit from?
What polymorphism means?
What language is oop?