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 std namespace in c++?
What are its advantages and disadvantages of multiple inheritances (virtual inheritance)?
Why do we need pointers?
the first character in the variable name must be an a) special symbol b) number c) alphabet
How do you invoke a base member function from a derived class in which you’ve overridden that function?
What is the basic structure of c++ program?
What is the c++ programming language used for?
What are the rules about using an underscore in a c++ identifier?
How can you quickly find the number of elements stored in a static array? Why is it difficult to store linked list in an array?
Carry out conversion of one object of user-defined type to another?
What is type of 'this' pointer? Explain when it is get created?
How are the features of c++ different from c?
Can comments be longer than one line?
Explain how to initialize a const member data.
What is #include iomanip?