Difference between null pointer and dangling pointer?
Answer Posted / vadivel t
Minor correction in my ans #4...
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(ie., address
is valid but no more in the allocated memory pool. It will
be added in the free memory pool).
| Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
What are the application of c?
Do string constants represent numerical values?
What is abstract data structure in c?
How does #define work?
C language questions for civil engineering
How can I direct output to the printer?
What is infinite loop?
What does a pointer variable always consist of?
Write the Program to reverse a string using pointers.
What oops means?
What is substring in c?
What does do in c?
Explain the red-black trees?
What is the difference between āgā and āgā in C?
What are the types of data structures in c?