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 is difference between inheritance and polymorphism?
What is new keyword in oops?
when to use 'mutable' keyword and when to use 'const cast' in c++
Why do we use encapsulation in oops?
What is the highest level of cohesion?
What is abstraction in oops?
Why do we use oop?
Can we create object of abstract class?
What is polymorphism oop?
What is a class oop?
what are the different types of qualifier in java?
What are the three main types of variables?
What are the 4 main oop principles?
Why is abstraction used?
What is inheritance in oop?