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
How many bytes are occupied by near, far and huge pointers (dos)?
What does calloc stand for?
difference between Low, Middle, High Level languages in c ?
When c language was developed?
How do I use void main?
Explain how do you determine the length of a string value that was stored in a variable?
Write a code on reverse string and its complexity.
Is it better to bitshift a value than to multiply by 2?
Can I use base-2 constants (something like 0b101010)? Is there a printf format for binary?
What is difference between main and void main?
write a program in c language to print your bio-data on the screen by using functions.
This is a variation of the call_me function in the previous question:call_me (myvar)int *myvar;{ *myvar += 5; }The correct way to call this function from main() will be a) call_me(myvar) b) call_me(*myvar) c) call_me(&myvar) d) expanded memory
What are high level languages like C and FORTRAN also known as?
Write a C program to accept a matrix of any size. Find the frequency count of each element in the matrix and positions in which they appear in the matrix
What happens if header file is included twice?