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
Explain what will the preprocessor do for a program?
What is the hardest programming language?
Which of the following operators is incorrect and why? ( >=, <=, <>, ==)
What are the types of pointers in c?
What language is windows 1.0 written?
Give the rules for variable declaration?
Explain about block scope in c?
What are static variables in c?
Difference between constant pointer and pointer to a constant.
How many bytes is a struct in c?
Is array name a pointer?
What is the heap in c?
a direct address that identifies a location by means of its displacement from a base address or segment a) absolute address b) relative address c) relative mode d) absolute mode
Should I use symbolic names like true and false for boolean constants, or plain 1 and 0?
Why is c called a structured programming language?