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
Which is not a valid keyword a) public b) protected c) guarded
Is map ordered c++?
What is the need of a destructor?
What is the type of 'this' pointer?
How to allocate memory dynamically for a reference?
Is c++ a good first language to learn?
Why is swift so fast?
What is c++ hiding?
How do you find out if a linked-list has an end? (I.e. The list is not a cycle)
What is basic if statement syntax?
How would you use the functions memcpy(), memset(), memmove()?
What is abstraction in c++?
What is the difference between an external iterator and an internal iterator? Describe an advantage of the external iterator.
Which function cannot be overloaded c++?
what is VOID?