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 the advantage of using register variables?
What is atoi?
Can a constructor return a value?
Which is best c++ or java?
Explain shallow copy?
Discuss the possibilities related to the termination of a program before entering the mainq method?
What are the advantages of pointers?
If a header file is included twice by mistake in the program, will it give any error?
What is the role of C++ shorthand's?
What flag means?
What is the insertion operator and what does it do?
What does scope resolution operator do?
Write about an iterator class?
How is static data member similar to a global variable?
Explain overriding.