difference between c and c++?

Answer Posted / radhika

1. C is the procedure oriented programming language.
C++ is the object oriented programming language.

2. C gives the important on the procedure insted of data.
C++ gives the important on the data.

3. C the data can pass through the fuction to function.
C++ the data is hide in the fuction and the data is stolen
through the external function.

4. C is the low level language.
c++ is the high level language.

5. C doesn't have the extra advantages to hide the functions like C++
C++ having extra benfits data can hide in the function
(encapsulation),polymorphism,templates,file
handling,inheritance.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is java a c++?

656


Is linux written in c or c++?

664


Explain explicit container.

720


Discuss the effects occur, after an exception thrown by a member function is unspecified by an exception specification?

728


When do we run a shell in the unix system? How will you tell which shell you are running?

638






Write a program which uses functions like strcmp(), strcpy()? etc

717


What is class in c++ with example?

658


What is the hardest coding language to learn?

701


What you know about structures in C++?

685


How much do c++ programmers make?

646


What are the benefits of pointers?

671


How do you sort a sort function in c++ to sort in descending order?

672


What is general form of pure virtual function? Explain?

602


Should the member functions which are made public in the base class be hidden?

658


What does override mean in c++?

683