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 is a class oop?
Write A Program to find the ambiguities in Multiple Inheritance? How are they resolved.(Virtual Functions)
What is the main feature of oop?
What is encapsulation and abstraction? How are they implemented in C++?
What is abstraction oop?
What is the problem with multiple inheritance?
What type of loop is a for loop?
What are the types of abstraction?
What is polymorphism what are the different types of polymorphism?
What is overriding vs overloading?
What do you mean by overloading?
Why polymorphism is used in oops?
Why do we need oop?
Why do we use polymorphism in oops?
What is abstraction with example?