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
What are smart pointers?
Why is swift so fast?
Explain what is polymorphism in c++?
Write syntax to define friend functions in C++.
what is the use of void main() in C++ language?
What is an incomplete type in c++?
What are inline functions? What is the syntax for defining an inline function?
Briefly describe a B+ tree. What is bulk loading in it?
What is the advantage of c++ over c?
What are the uses of pointers?
Can comments be longer than one line?
Differentiate between C and C++.
What is pointer in c++ with example?
Can comments be nested?
What is c++ stringstream?