Difference between null pointer and dangling pointer?
Answer Posted / vrushali
free should be able to free as it maintains a table from
where it can start freeing the memory. It is OS related issue.
There is no way in C where we can ensure that the particular
memory is freed a even after free we can access the variable
for some time. In Java, we have a memory deallocator.
| Is This Answer Correct ? | 5 Yes | 1 No |
Post New Answer View All Answers
What are terms in math?
what is the diffrenet bettwen HTTP and internet protocol
Is c procedural or object oriented?
What does main () mean in c?
Explain what does the format %10.2 mean when included in a printf statement?
What are c identifiers?
What do you mean by invalid pointer arithmetic?
What are the different data types in C?
How can I find out if there are characters available for reading?
What's a good way to check for "close enough" floating-point equality?
while loop contains parts a) initialisation, evalution of an expression,increment /decrement b) initialisation, increment/decrement c) condition evalution d) none of the above
What is infinite loop?
What is non linear data structure in c?
What header files do I need in order to define the standard library functions I use?
Explain which of the following operators is incorrect and why? ( >=, <=, <>, ==)