WHAT IS THE DIFFERENCE BETWEEN malloc() and calloc() in c
file management?
Answer Posted / shruti
malloc will only allocate space in the memory..
calloc will allocate space in the memory as well as
initialise it to a particular value.
| Is This Answer Correct ? | 134 Yes | 39 No |
Post New Answer View All Answers
what are the advantages of a macro over a function?
What are the types of type specifiers?
What is meant by high-order and low-order bytes?
how many errors in c explain deply
How can you convert integers to binary or hexadecimal?
What is a keyword?
When is a void pointer used?
Write a program to generate random numbers in c?
Explain how are portions of a program disabled in demo versions?
What is string constants?
What is variable in c example?
write a sorting prgm to sort 50 nos and sum them and also remove all the occurrences of 15 and print it?
using for loop sum 2 number of any 4 digit number in c language
pgm to find number of words starting with capital letters in a file(additional memory usage not allowed)(if a word starting with capital also next letter in word is capital cann't be counted twice)
What are local variables c?