What is the difference between "calloc" and "malloc"?
Answer Posted / shweta
calloc initializes memory with 0 while malloc doesn't
initializes.
Is This Answer Correct ? | 25 Yes | 4 No |
Post New Answer View All Answers
What are pointers used for c++?
Who invented turbo c++?
How do you instruct your compiler to print the contents of the intermediate file showing the effects of the preprocessor?
Explain the properties and principles of oop.
What parameter does the constructor to an ofstream object take?
What are the implicit member functions of class?
Why do we need templates?
Is eclipse good for c++?
Write bites in Turbo c++ Header ("Include") Files.
What is the best c++ compiler?
Write some differences between an external iterator and an internal iterator? Describe the advantage of an external iterator.
What is a pointer how and when is it used?
Are vectors passed by reference c++?
What are the three forms of cin.get() and what are their differences?
When should we use multiple inheritance?