When you call malloc() to allocate memory for a local
pointer, do you have to explicitly free() it?
Answer Posted / guest
Yes you have to.
| Is This Answer Correct ? | 13 Yes | 1 No |
Post New Answer View All Answers
How can you read a directory in a C program?
How do I read the arrow keys? What about function keys?
What do you understand by friend-functions? How are they used?
Why do we use & in c?
What is the function of multilevel pointer in c?
What are header files? What are their uses?
What is 02d in c?
Explain goto?
When should the const modifier be used?
What are the rules for the identifier?
Why is c so important?
What are the advantages of using linked list for tree construction?
Disadvantages of C language.
How many bytes is a struct in c?
in ‘C’ language for Matrix Multiplication fails” Introspect the causes for its failure and write down the possible reasons for its failure.