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

Why do we need function?

604


What is capacity in vector in c++?

551


What is else syntax in c++?

642


Explain the purpose of the keyword volatile.

638


What is the c++ code?

570






If a base class declares a function to be virtual, and a derived class does not use the term virtual when overriding that class, is it still virtual when inherited by a third-generation class?

612


What is an associative container in c++?

555


What do you mean by inheritance in c++?

609


Write a recursive program to calculate factorial in c++.

611


Can member data be public?

599


What data structure is fastest, on average, for retrieving data: a) Binary Tree b) Hash Table c) Stack

591


What is the copy-and-swap idiom?

612


What are the restrictions apply to constructors and destructors?

645


What is a c++ object?

618


To which numbering system can the binary number 1101100100111100 be easily converted to?

608