Is there something that we can do in C and not in C++?

Answer Posted / vaishnavi

there are many concepts that can be used in c++ where c
cannot support those concepts.
The following are some of those type of concepts:-
1.function overloading
2.operator overloading
3.templates
4.polymorphism
5.inheritence
6.data encapsulation
7.function over-riding
8.virtual functions
9.constructors & destructors
10. exceptional handling.

Is This Answer Correct ?    4 Yes 10 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the basic concept of c++?

745


Write a function that swaps the values of two integers, using int* as the argument type?

785


When we use Abstract Class and when we use Interface?where we will implement in real time?

1901


Write a program which uses Command Line Arguments

848


What is difference between rand () and srand ()?

827


Why do we use using namespace std in c++?

801


What is meant by entry controlled loop?

852


What is flag in computer?

802


What is size of string in c++?

736


What is do..while loops structure?

822


What is a dangling pointer in c++?

849


What are the advantages of early binding?

825


How do you define/declare constants in c++?

775


To what does “event-driven” refer?

821


Why is it necessary to use a reference in the argument to the copy constructor?

846