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 the type of this pointer in c++?

810


What are the advantages of c++?

1251


What is java and c++?

864


What is the sequence of destruction of local objects?

707


What is meant by iomanip in c++?

816






Explain the problem with overriding functions

793


What is scope in c++ with example?

816


What things would you remember while making an interface?

749


Name the operators that cannot be overloaded in C++?

767


What is the disadvantage of using a macro?

778


How do you establish a has-a relationship?

793


What is a set in c++?

696


Assume studentNames and studentIDs are two parallel arrays of size N that hold student data. Write a pseudocode algorithm that sorts studentIDs array in ascending ID number order such that the two arrays remain parallel.

1937


Why do we use constructor?

804


How does class accomplish data hiding in c++?

892