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

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is encapsulation in simple terms?

747


Can you explain polymorphism?

798


write a C++ program for booking using constructor and destructor.

2243


What is oops and its features?

812


What is cohesion in oop?

824


When not to use object oriented programming?

753


If a=5, b=6, c=7, b+=a%c*2. What is the final value of b?

1088


What do you mean by abstraction?

795


Why do pointers exist?

855


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?

3083


What is polymorphism explain?

942


What is pointer in oop?

717


Which language is pure oop?

737


How can you overcome the diamond problem in inheritance?

943


What is object in oop?

861