What is the difference between "calloc" and "malloc"?
Answer Posted / vijay
Calloc allocates the array of blocks of memory whearas
malloc allocates the memory of the size given as an
argument.
Is This Answer Correct ? | 12 Yes | 2 No |
Post New Answer View All Answers
Is string data type in c++?
How do you invoke a base member function from a derived class in which you’ve overridden that function?
How many types of comments are there in c++?
What is pointer with example?
Define a pointer to a data member of the type pointer to pointer?
What is function overriding in c++?
What is setw manipulator in c++?
What is a binary file? List the merits and demerits of the binary file usagein C++.
What is the purpose of the "delete" operator?
What is the latest c++ version?
What is a pointer with example?
What are built-in functions? What is the syntax for the definition?
What is const in c++?
What is a flag in c++?
What are move semantics?