What is difference c and c++?
Answer / 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 |
How can you differentiate between inheritance and implementation in c++?
Explain the scope resolution operator?
What is a constructor and how is it called?
Define private, protected and public access control.
Do class declarations end with a semicolon? Do class method definitions?
What does scope resolution operator do?
Discuss the possibilities related to the termination of a program before entering the mainq method?
What do you mean by early binding?
Define the process of error-handling in case of constructor failure?
What are the differences between public, private, and protected access?
12 Answers IBM, Oracle, Wipro,
What is the purpose of decltype?
What's the order in which the objects in an array are destructed?