WHAT IS THE DIFFERENCE BETWEEN malloc() and calloc() in c
file management?
Answer Posted / vijay r15
malloc creates the
single block of gn
size by user. Malloc
takes 1ly 1 arg.
Calloc creates
multiple block of gn
size. It will
initialize the
reserved memory block
to zero. Calloc takes
2 arguments
Is This Answer Correct ? | 7 Yes | 2 No |
Post New Answer View All Answers
How do I swap bytes?
what is bit rate & baud rate? plz give wave forms
When should a type cast be used?
How can I delete a file?
Why c is called free form language?
What is integer constants?
while loop contains parts a) initialisation, evalution of an expression,increment /decrement b) initialisation, increment/decrement c) condition evalution d) none of the above
Write a program to print all permutations of a given string.
What are structural members?
Explain the use of fflush() function?
What are the types of variables in c?
What is c programming structure?
What is the scope of static variable in c?
what is the differnce between programing langauge and tool? is sas is a programing langauge r tool?
What is dynamic variable in c?