Is there something that we can do in C and not in C++?
Answers were Sorted based on User's Feedback
Answer / 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 |
What are the different operators in C++?
Write the program form Armstrong no in c++?
Define friend function.
why is iostream::eof inside a loop condition considered wrong?
Will a C compiler always compile C++ code a) Yes b) No c) Only optimized compilers
Can comments be nested?
What is iostream in c++ used for?
Why is c++ not purely object oriented?
Explain calling an object's member function(declared virtual)from its constructor?
Define Virtual function in C++.
How is data hiding achieved in c++?
Perform addition, multiplication, subtraction of 2-D array using Operator Overloading.