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
Why is c++ so fast?
How the endl and setw manipulator works?
Why is c++ is better than c?
what is pre-processor in C++?
What is c++ stringstream?
Is atoi safe?
What is the use of endl in c++ give an example?
Explain virtual class?
Is overriding possible in c++?
Explain the concept of dynamic allocation of memory?
How are the features of c++ different from c?
What is object in c++ example?
List the advantages of inheritance.
What are pointers used for c++?
What is the difference between the indirection operator and the address of oper-ator?