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

Answer Posted / subhrajit

mallco is used in c language for static memory location in
heap area and i donot no the calloc.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can the operator == be overloaded for comparing two arrays consisting of characters by using string comparison?

554


How is c++ used in the real world?

565


Write a short code using c++ to print out all odd number from 1 to 100 using a for loop

580


Who was the creator of c++?

552


What is the extension of c++?

506






How can I improve my c++ skills?

552


What are the differences between new and malloc?

623


What are files in c++?

585


Is c++ low level?

570


What is a constant? Explain with an example.

547


If a function doesn’t return a value, how do you declare the function?

608


What's the hardest coding language?

568


What is an operator function? Describe the function of an operator function?

605


What does the ios::ate argument do?

654


What are c++ variables?

528