WHAT IS THE DIFFERENCE BETWEEN malloc() and calloc() in c
file management?
Answer Posted / venkateswarlupanidapu
malloc occupies byte of space in memory location and holds
only one argument of data bytes.
calloc occupies and holds 2 bytes of memory in address
location with arguments databytes,number of data bytes.
calloc occupies in structure of blocks and malloc allocates
in struncture of databytes.
| Is This Answer Correct ? | 14 Yes | 12 No |
Post New Answer View All Answers
How do I round numbers?
What is function pointer c?
Explain how can I right-justify a string?
how we can make 3d venturing graphics on outer interface
What is the difference between declaring a variable and defining a variable?
What is c variable?
What does the message "automatic aggregate intialization is an ansi feature" mean?
Stimulate calculator using Switch-case-default statement for two numbers
What is static memory allocation? Explain
1. Write a function to display the sum of two numbers in the following ways: By using (i) pass by value (ii) pass by address a. function with argument and with return value b. function with argument and without return value c. without argument , with return value d. without argument , without return value Note: Use pass by address.
What do you mean by recursion in c?
Explain what is a program flowchart and explain how does it help in writing a program?
Why are some ANSI/ISO Standard library routines showing up as undefined, even though I've got an ANSI compiler?
Explain what are compound statements?
How can I find out how much free space is available on disk?