What's the difference between calloc() and malloc()?
Answer Posted / k.thejonath
Malloc allocates a block of memory whereas using calloc we
can allocate array of memory blocks and all locations are
initialized to zeros
| Is This Answer Correct ? | 5 Yes | 3 No |
Post New Answer View All Answers
what is the different bitween abap and abap-hr?
Who developed c language and when?
How can I read/write structures from/to data files?
Differentiate between Macro and ordinary definition.
Not all reserved words are written in lowercase. TRUE or FALSE?
What is data structure in c language?
What is mean by data types in c?
Are negative numbers true in c?
What is p in text message?
Where are the auto variables stored?
What is the full form of getch?
Is there a way to have non-constant case labels (i.e. Ranges or arbitrary expressions)?
Q.1 write aprogram to stack using linklist o insert 40 items? Q.2 write a program to implement circular queue with help of linklist?
What is the behavioral difference when include header file in double quotes (“”) and angular braces (<>)?
What does 3 mean in texting?