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

What is encapsulation in C++? Give an example.

588


Are strings mutable in c++?

694


What is the use of map in c++?

609


Is map ordered c++?

594


How many keywords are used in c++?

556






Differentiate between an external iterator and an internal iterator? What is the advantage of an external iterator.

617


What are abstract data types in c++?

533


What is the copy-and-swap idiom?

604


What is the use of endl?

546


Explain all the C++ concepts using examples.

686


What are c++ files?

578


How do you declare A pointer to function which receives an int pointer and returns a float pointer

677


Can the creation of operator** is allowed to perform the to-the-power-of operations?

581


Why c++ does not have finally?

593


Can you pass an array to a function in c++?

541