WHAT IS THE DIFFERENCE BETWEEN malloc() and calloc() in c
file management?
Answer Posted / shirish
malloc: malloc create the single block of given size by user
calloc: calloc creates multiple blocks of given size
| Is This Answer Correct ? | 1 Yes | 3 No |
Post New Answer View All Answers
How can you draw circles in C?
What are the Advantages of using macro
What is variable and explain rules to declare variable in c?
Explain the difference between ++u and u++?
How to check whether string is a palindrome, WITHOUT USING STRING FUNCTIONS?
How do you define a function?
How many parameters should a function have?
What is the stack in c?
What is spark map function?
Explain how can type-insensitive macros be created?
the number of measuring units from a arbitrary starting point in a record area or control block to some other point a) branching b) recording pointer c) none d) offset
Explain how do you list files in a directory?
What is main return c?
Why & is used in scanf in c?
Why does the call char scanf work?