WHAT IS THE DIFFERENCE BETWEEN malloc() and calloc() in c
file management?
Answer Posted / arshad
1.
calloc function takes two argument while malloc takes only 1
2.
by default memory allocated by malloc contains garbage values
whereas that allocated by calloc contains all zero.
Is This Answer Correct ? | 49 Yes | 15 No |
Post New Answer View All Answers
Suggesting that there can be 62 seconds in a minute?
Can you write a programmer for FACTORIAL using recursion?
Why do we use null pointer?
provide an example of the Group by clause, when would you use this clause
What is static memory allocation?
Why does notstrcat(string, "!");Work?
explain what is a newline escape sequence?
When should the register modifier be used? Does it really help?
what is ur strangth & weekness
What is pointer and structure in c?
Is using exit() the same as using return?
What are the types of macro formats?
Is void a keyword in c?
What is the return type of sizeof?
What is the meaning of && in c?