WHAT IS THE DIFFERENCE BETWEEN malloc() and calloc() in c
file management?
Answer Posted / priya
malloc() allocates bytes of memory for a single block
whereas calloc() allocates blocks of memory for multiple
blocks
| Is This Answer Correct ? | 8 Yes | 3 No |
Post New Answer View All Answers
Write a c program to demonstrate character and string constants?
What is string concatenation in c?
Why is c called c?
Explain the use of fflush() function?
What are reserved words?
Explain b+ tree?
Should I use symbolic names like true and false for boolean constants, or plain 1 and 0?
Explain what is the benefit of using an enum rather than a #define constant?
Why doesnt that code work?
Explain what is wrong with this program statement?
1) There is a singing competition for children going to be conducted at a local club. Parents have been asked to arrive at least an hour before and register their children’s names with the Program Manager. Whenever a participant registers, the Program Manager has to position the name of the person in a list in alphabet order. Write a program to help the Program Manager do this by placing the name in the right place each time the Program Manger enters a name. The Logic should be written in Data Structures?
How can I do graphics in c?
What is the process to create increment and decrement stamen in c?
What is 1f in c?
What is wrong with this program statement?