What is the difference between "calloc" and "malloc"?

Answer Posted / srikanth

MALLOC ASSIGNS O VALUE , WHERE AS CALLOC ASSIGNS GARBAGE
VALUE.

Is This Answer Correct ?    3 Yes 27 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is private, public and protected inheritance?

583


What is c++ namespace?

703


What is the best c++ ide?

593


What is c++ mutable?

696


Is c++ still being used?

555






What is a modifier in c++?

625


Why do we use double in c++?

587


Distinguish between new and malloc and delete and free().

569


Difference between a copy constructor and an assignment operator.

560


What is abstraction in c++?

667


Why do you use the namespace feature?

638


Explain binary search.

569


How are Structure passing and returning implemented by the compiler?

591


Define a conversion constructor?

601


What are the four main data types?

574