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 |
What is stack unwinding?
What is the default access level?
What is the difference between while and do while loop? Explain with examples.
Write a C++ Program to Multiply two Numbers
Write a program and call it sortcheck.cpp which receives 10 numbers from input and checks whether these numbers are in ascending order or not. You are not allowed to use arrays. You should not define more than three variables
What are shallow and deep copies?
Explain what are mutator methods in c++?
Which ide is best for c++?
What is the difference between an external iterator and an internal iterator? Describe an advantage of the external iterator.
How would you stop a class from class from being derived or inherited?The constructer should not be Private,as object instantiation should be allowed.
Explain differences between new() and delete()?
Describe linkages and types of linkages?