What is the difference between "calloc" and "malloc"?
Answer Posted / samveethsingh
malloc:
malloc create the single block of given size by user
calloc:
calloc creates multiple blocks of given size
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How many characters are recognized by ANSI C++?
What is data type in c++?
What are special characters c++?
In the derived class, which data member of the base class are visible?
What is function prototyping? What are its advantages?
Can union be self referenced?
What does it mean to declare a member function as static?
Is there any function that can skip certain number of characters present in the input stream?
What is a dll entry point?
How do you define a class in c++?
When should overload new operator on a global basis or a class basis?
How do you generate a random number in c++?
What is difference between c++ and c ++ 14?
What are friend classes?
What are member functions used in c++?