Difference between null pointer and dangling pointer?
Answer Posted / vadivel t
To Sourisengupta Question.
free() shall free the memory which is allocated dynamically.
But afrer the free() function being called,the pointer
which u r passing to free() as an argument, shall point to
the same base address, which is no more valid.
Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
What is structure data type in c?
What does the message "automatic aggregate intialization is an ansi feature" mean?
What does nil mean in c?
write a program fibonacci series and palindrome program in c
Explain how can I prevent another program from modifying part of a file that I am modifying?
How can a number be converted to a string?
Why is it that not all header files are declared in every C program?
There is a practice in coding to keep some code blocks in comment symbols than delete it when debugging. How this affect when debugging?
Mention four important string handling functions in c languages .
What is a pointer and how it is initialized?
How does placing some code lines between the comment symbol help in debugging the code?
How the c program is executed?
Explain how can I make sure that my program is the only one accessing a file?
What is the difference between array and structure in c?
Why we use int main and void main?