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
What is basic if statement syntax?
Write a Program for read a line from file from location N1 to N2 using command line arguments. Eg:exe 10 20 a.c
Why do we use structure in c++?
Name four predefined macros.
Eplain extern keyword?
What is vector pair in c++?
Explain Memory Allocation in C/C++ ?
What is new in c++?
Explain what are mutator methods in c++?
What are the advantages of using a pointer? Define the operators that can be used with a pointer.
Explain queue. How it can be implemented?
What do you mean by inheritance in c++? Explain its types.
Differentiate between an inspector and a mutator ?
How do I make turbo c++ full screen?
What is a manipulator in c++?