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
Can a destructor be called directly?
Is enum a class?
What are properties in oop?
What is encapsulation example?
What is byval and byref? What are differences between them?
What is abstract class in oop?
What is protected in oop?
class type to basic type conversion
What does sksksk mean in text slang?
What is abstraction encapsulation?
What is solid in oops?
What are the 5 oop principles?
What is oops concept with example?
what is the sylabus for priliminaries?
What type of loop is a for loop?