What is difference between new and malloc?

Answer Posted / sanjeevkumar.v

malloc --it mean memmory allocation .it will be.crete a
memory from a element



NEW--- newly crate a program are crete a memory allocation

Is This Answer Correct ?    1 Yes 10 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you define social class?

605


what is the sylabus for priliminaries?

1693


What makes a language oop?

600


What do you mean by variable?

579


How can you overcome the diamond problem in inheritance?

772






What is a class and object?

600


Get me a number puzzle game-program

1696


What are the benefits of interface?

584


What is encapsulation in simple terms?

545


What is the main feature of oop?

624


What is polymorphism programming?

607


What is class in oop with example?

625


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(); }

1993


What is polymorphism what are the different types of polymorphism?

568


Why is destructor used?

587