WHAT IS THE DIFFERENCE BETWEEN malloc() and calloc() in c
file management?
Answer Posted / sudhir
malloc used to static memory allocation &
calloc is used to dyanmic memory allocation
| Is This Answer Correct ? | 1 Yes | 2 No |
Post New Answer View All Answers
Write a program in c to replace any vowel in a string with z?
Differentiate abs() function from fabs() function.
What is #line used for?
What does a function declared as pascal do differently?
what is the diffrenet bettwen HTTP and internet protocol
Explain what does the function toupper() do?
What does c mean in standard form?
Difference between malloc() and calloc() function?
the real constant in c can be expressed in which of the following forms a) fractional form only b) exponential form only c) ascii form only d) both a and b
What are the c keywords?
What should malloc() do?
largest Of three Number using without if condition?
What do you understand by normalization of pointers?
What is const and volatile in c?
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. 2) the Event Manager has to send participants to the stage to perform in the order in which they registered. Write a program that will help the Event Manager know who to call to the stage to perform. The Logic should be in Data Structures