What are dangling pointers? How are dangling pointers different from memory leaks?
Answer Posted / hrpynux@gmail.com
So dangling pointer is nothing but a pointer which is pointing a dynamic variable whose scope is already finished. Memory leak: When there is a memory area in a heap but no variable in the stack pointing to that memory.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How will you print TATA alone from TATA POWER using string copy and concate commands in C?
Why is it that not all header files are declared in every C program?
What is the explanation for the dangling pointer in c?
What is a protocol in c?
How can I dynamically allocate arrays?
What are the ways to a null pointer can use in c programming language?
What are the types of data types and explain?
What are directives in c?
How can I call system when parameters (filenames, etc.) Of the executed command arent known until run time?
What is anagram in c?
What are the modifiers available in c programming language?
What is an arrays?
What is the advantage of a random access file?
how many key words availabel in c a) 28 b) 31 c) 32
What is scanf () in c?