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 does void main () mean?
What is use of #include in c?
How to implement a packet in C
How pointer is different from array?
Define recursion in c.
In this problem you are to write a program that will cut some number of prime numbers from the list of prime numbers between 1 and N.Your program will read in a number N; determine the list of prime numbers between 1 and N; and print the C*2 prime numbers from the center of the list if there are an even number of prime numbers or (C*2)-1 prime numbers from the center of the list if there are an odd number of prime numbers in the list.
Is null equal to 0 in sql?
which of the following statement is wrong a) mes=123.56; b) con='T'*'A'; c) this='T'*20; d) 3+a=b;
What is %s and %d in c?
write a c program to print the next of a particular no without using the arithmetic operator or looping statements?
How do you do dynamic memory allocation in C applications?
Why isnt any of this standardized in c?
What is difference between constant pointer and constant variable?
In C language, the variables NAME, name, and Name are all the same. TRUE or FALSE?
What is meant by operator precedence?