Answer Posted / devi
In C the malloc is used to allocate the memory space
In C++ the new operator is used to allocate the memory space
| Is This Answer Correct ? | 2 Yes | 2 No |
Post New Answer View All Answers
What does enum stand for?
What is difference between data abstraction and encapsulation?
Can we override main method?
What is inheritance in simple words?
What is polymorphism in oop example?
#include
What is byval and byref? What are differences between them?
What is encapsulation with example?
Which method cannot be overridden?
What is persistence in oop?
What is meant by oops concept?
What is a function in oop?
Why do pointers exist?
What is Difference Between Inheritance and creating object and getting data? means Class A extends B{ B.getMethod();} (OR) Class A{ b obj=new B(); obj.getMethod(); }
Why we use classes in oop?