WHAT IS THE DIFFERENCE BETWEEN malloc() and calloc() in c
file management?
Answer Posted / shruti
malloc will only allocate space in the memory..
calloc will allocate space in the memory as well as
initialise it to a particular value.
| Is This Answer Correct ? | 134 Yes | 39 No |
Post New Answer View All Answers
Which is an example of a structural homology?
What does 2n 4c mean?
Under what circumstances does a name clash occur?
What is a protocol in c?
main() { int i = 10; printf(" %d %d %d ", ++i, i++, ++i); }
Explain what is the difference between #include and #include 'file' ?
What are valid signatures for the Main function?
What is a file descriptor in c?
Explain the difference between call by value and call by reference in c language?
What is string in c language?
Explain logical errors? Compare with syntax errors.
Why functions are used in c?
What is the difference between call by value and call by reference in c?
What are Macros? What are its advantages and disadvantages?
How can I get random integers in a certain range?