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
Write programs for String Reversal & Palindrome check
What is the difference between array_name and &array_name?
What is spark map function?
What is meant by recursion?
What is a const pointer?
write a programe to accept any two number and check the following condition using goto state ment.if a>b,print a & find whether it is even or odd and then print.and a
Differentiate between the = symbol and == symbol?
What are c identifiers?
What is meant by operator precedence?
What is the importance of c in your views?
Synonymous with pointer array a) character array b) ragged array c) multiple array d) none
which of the following shows the correct hierarchy of arithmetic operations in C a) (), **, * or/,+ or - b) (),**,*,/,+,- c) (),**,/,*,+,- d) (),/ or *,- or +
What is use of #include in c?
What does c in a circle mean?
What’s a signal? Explain what do I use signals for?