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

Answer Posted / ven

In addiion, calloc requires two parameters whereas ,malloc
only one

Is This Answer Correct ?    19 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can we declare a base-class destructor as virtual?

759


Difference between overloading vs. Overriding

818


What is virtual destructor ans explain its use?

835


What are default parameters? How are they evaluated in c++ function?

897


Can I run c program in turbo c++?

774


What header file is needed for exit(); a) stdlib.h b) conio.h c) dos.h

812


What is a lambda function c++?

787


What is else if syntax?

882


What is atoi?

740


What is data structure in c++?

856


Can c++ do everything c can?

809


Should the member functions which are made public in the base class be hidden?

785


Difference between Abstraction and encapsulation in C++?

830


What do you mean by early binding?

796


Explain the uses of static class data?

846