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
we called a function and passed something do it we have always passed the "values" of variables to the called function. such functions calles are called a) calls by reference b) calls by value c) calls by zero d) none of the above
write a C program: To recognize date of any format even formats like "feb-02-2003","02-february-2003",mm/dd/yy, dd/mm/yy and display it as mm/dd/yy.
What are the salient features of c languages?
What is page thrashing?
Hi how many types of software editions are there and their difference (like home editions, enterprise, standard etc) can u please help me
Explain what is a 'null pointer assignment' error? Explain what are bus errors, memory faults, and core dumps?
List some of the static data structures in C?
What is memory leak in c?
What is a rvalue?
When should the volatile modifier be used?
Write a code to achieve inter processor communication (mutual exclusion implementation pseudo code)?
Synonymous with pointer array a) character array b) ragged array c) multiple array d) none
How do we open a binary file in Read/Write mode in C?
What is the difference between text and binary modes?
If I have a char * variable pointing to the name of a function ..