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 #ifdef ? What is its application?
Explain what is the benefit of using enum to declare a constant?
What could possibly be the problem if a valid function name such as tolower() is being reported by the C compiler as undefined?
my project name is adulteration of chille powder.how can i explain it to the hr when he asks me about the project?
What is the size of a union variable?
What are pointers?
How to write a code for implementing my own printf() and
scanf().... Please hep me in this... I need a guidance...
Can you give an coding for c... Please also explain about
the header files used other than #include
What is 'bus error'?
how to capitalise first letter of each word in a given string?
What is calloc() function?
Describe explain how arrays can be passed to a user defined function
What is a pointer value and address in c?
What is string concatenation in c?
A global variable when referred to in another file is declared as this a) local variable b) external variable c) constant d) pointers
What is the use of volatile?