What is difference c and c++?

Answer Posted / priya

C does no support polymorphism, encapsulation, and inheritance which means that C does not support object oriented programming.

C++ supports polymorphism, encapsulation, and inheritance because it is an object oriented programming language.

C is a subset of C++.

C++ is a superset of C.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can I learn c++ without learning c?

655


Explain the volatile and mutable keywords.

716


What is a binary file? List the merits and demerits of the binary file usagein C++.

834


What do the keywords volatile and mean mutable?

701


What are the differences between the function prototype and the function defi-nition?

707






Difference between a homogeneous and a heterogeneous container

762


What does scope resolution operator do?

702


Define friend function.

659


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

662


write a function signature with various number of parameters.

669


Write a program in C++ for Fibonacci series

757


What does extern mean in a function declaration in c++?

800


What is low level language in simple words?

643


What is the use of pointer in c++ with example?

642


what are the iterator and generic algorithms.

1560