Answer Posted / pushpankar mishra
malloc need type casting where as the new operator does not
require this incase if it is character type then char* is
needed in malloc where as for new we do not need this
| Is This Answer Correct ? | 10 Yes | 1 No |
Post New Answer View All Answers
What is this pointer in oop?
Why do we use oop?
What causes polymorphism?
Why do while loop is used?
What is encapsulation example?
Can we override main method?
Whats is abstraction in oops?
What are the 4 main oop principles?
What is coupling in oop?
What is the purpose of enum?
write string class as your own class in java without using any built-in function
What is class encapsulation?
What is abstraction in oops with example?
write a program that takes input in digits and display the result in words from 1 to 1000
What is overriding in oop?