what is the main difference between c and c++?
Answer Posted / vivek goyanr
In C memory allocation is done with malloc statement whereas
in C++ it is done through new keyword.Also memory is
deallocated in C using free statement while in C++
deallocation takes place through delete.
| Is This Answer Correct ? | 452 Yes | 108 No |
Post New Answer View All Answers
What are the advantages of polymorphism?
How to call a non virtual function in the derived class by using base class pointer
write a C++ program for booking using constructor and destructor.
Advantage and disadvantage of routing in telecom sector
What exactly is polymorphism?
What are the components of marker interface?
What is the difference between a mixin and inheritance?
How do you achieve runtime polymorphism?
What is coupling in oops?
program for insertion ,deletion,sorting in double link list
When not to use object oriented programming?
What are two types of polymorphism?
What are oops functions?
Can abstract class have normal methods?
What is object in oop with example?