what is the main difference between c and c++?
Answer Posted / s prasanna kumar
C C++
DATA IS NOT SECURED SECURED
TOP DOWN BOTTOM-UP
FOCUS ON PROCEDURES FOCUS ON DATA
PROGRAMS ARE DECOMPOSED INTO OBJECTS
INTO FUNCTIONS
allocation is done NEW OPERATOR
with malloc statement
UNOINS AND ENUMS AVALIABLE
ARE NOT AVALIABLE
DOES NOT PROVIDE PROVIDES
DEFAULT ARGUMENTS
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What do you mean by Encapsulation?
Why can't we have instance(stack) of a class as a member of the same class like eg.Class A{A obj;} as we can have self refential pointer
What is coupling in oops?
How do you answer polymorphism?
Why is encapsulation used?
Can enum be null?
What is the real time example of encapsulation?
What is debug class?what is trace class? What differences are between them? With examples.
What is a null tree?
What is abstract class in oop?
Can we override main method?
what type of question are asked in thoughtworks pair programming round ?
Can abstract class have normal methods?
Are polymorphisms mutations?
why reinterpret cast is considered dangerous?