what is the difference between malloc() and calloc() function?
Answer Posted / amritha rose
malloc will allocate memory according to the size we
specified
calloc vil allocate memory as blockwise
and initialize by 0
| Is This Answer Correct ? | 9 Yes | 1 No |
Post New Answer View All Answers
Tell me the use of bit field in c language?
What are the 5 types of organizational structures?
What will be the outcome of the following conditional statement if the value of variable s is 10?
Write a code of a general series where the next element is the sum of last k terms.
What is a stream?
Why main function is special give two reasons?
What is c value paradox explain?
What is signed and unsigned?
What is the difference between array and structure in c?
Explain the advantages of using macro in c language?
What is the difference between printf and scanf )?
Explain 'far' and 'near' pointers in c.
Who developed c language?
Hi how many types of software editions are there and their difference (like home editions, enterprise, standard etc) can u please help me
What is a spanning Tree?