What is difference between new and malloc?

Answer Posted / amri

When we use macro its need typecasting but in new not need of typecasting.

new is a operator.

Is This Answer Correct ?    0 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a class in oop?

601


Can you inherit a private class?

631


what is the 3 types of system development life cycle

2431


What is the real time example of encapsulation?

595


What is class encapsulation?

588






what type of question are asked in thoughtworks pair programming round ?

1760


What is methods in oop?

540


What are the 4 pillars of oop?

670


What is constructor in oop?

587


What is persistence in oop?

669


How do you answer polymorphism?

577


What is the problem with multiple inheritance?

584


What are classes oop?

596


What is Difeerence between List obj=new ArrayList(); and ArrayList obj=new ArrayList()?

2103


Is this job good for future? can do this job post grduate student?

1690