Answer Posted / ravi chandra
malloc function is used to allocate some space in memory for
the current program that we are running.
malloc() function actually return s the value of the address
of the memory in the memory segment
c=malloc();
it gives the address to the variable c.
h=malloc(sizeof(struct node));
it returns the address of structure for the variable h;
some h=1000; (address value)
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
List some applications of c programming language?
What are identifiers c?
Explain what are binary trees?
What does the c in ctime mean?
What is equivalent to ++i+++j?
How can I access an I o board directly?
number of times a digit is present in a number
What is the difference between specifying a constant variable like with constant keyword and #define it? i.e what is the difference between CONSTANT FLOAT A=1.25 and #define A 1.25
Why void is used in c?
i want to know the procedure of qualcomm for getting a job through offcampus
What is the meaning of c in c language?
What are the different types of pointers used in c language?
What is a memory leak? How to avoid it?
What are the restrictions of a modulus operator?
What is sizeof array?