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
Differentiate between null and void pointers.
What is the difference between abs() and fabs() functions?
What are c preprocessors?
What is an endless loop?
What is masking?
Write a program to print ASCII code for a given digit.
Why c is called object oriented language?
Write a program to generate the Fibinocci Series
Write a program to print fibonacci series without using recursion?
What is the argument of a function in c?
What is the correct declaration of main?
Who invented b language?
What Is The Difference Between Null And Void Pointer?
Explain which of the following operators is incorrect and why? ( >=, <=, <>, ==)
Is python a c language?