WHAT IS THE DIFFERENCE BETWEEN malloc() and calloc() in c
file management?
Answer Posted / madan gopal singh
malloc() is a one argument function while calloc() is two
argument function
malloc() take garbage value at initial time while calloc()
take null values at initial time
Is This Answer Correct ? | 27 Yes | 13 No |
Post New Answer View All Answers
Mention four important string handling functions in c languages .
What is difference between main and void main?
Suggesting that there can be 62 seconds in a minute?
When should the register modifier be used? Does it really help?
Write a code to generate divisors of an integer?
Is c programming hard?
What does a function declared as pascal do differently?
Explain the difference between strcpy() and memcpy() function?
Why c is procedure oriented?
Why do we use int main?
What is array of structure in c?
Write a program to check whether a number is prime or not using c?
Explain what does it mean when a pointer is used in an if statement?
What is queue in c?
Is main is a keyword in c?