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
What is difference between stdio h and conio h?
If null and 0 are equivalent as null pointer constants, which should I use?
How variables are declared in c?
what type of questions arrive in interview over c programming?
What is ## preprocessor operator in c?
What is the difference between volatile and const volatile?
What is the meaning of ?
Write a code to remove duplicates in a string.
What is structure in c language?
Explain b+ tree?
What is the difference between exit() and _exit() function?
Explain the use of 'auto' keyword in c programming?
How do I create a directory? How do I remove a directory (and its contents)?
What is the difference between array_name and &array_name?
hai iam working in sap sd module for one year and working in lumax ind ltd in desp department but my problem is i have done m.b.a in hr/marketing and working sap sd there is any combination it. can you give right solution of my problem. and what can i do?