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 are the different types of data structures in c?
How would you obtain the current time and difference between two times?
write a c program in such a way that if we enter the today date the output should be next day's date.
A program is required to print your biographic information including: Names, gender, student Number, Cell Number, line of study and your residential address.
Explain how do you sort filenames in a directory?
Which of the following operators is incorrect and why? ( >=, <=, <>, ==)
What is gets() function?
Tell me is null always defined as 0(zero)?
What are runtime error?
what is recursion in C
What are the 3 types of structures?
What is the return type of sizeof?
Can 'this' pointer by used in the constructor?
What is the value of h?
Explain two-dimensional array.