in Technology by

What is the explanation for the dangling pointer in C?

1 Answer

0 votes
by

When there is a pointer pointing to a memory address of any variable, but after some time the variable was deleted from the memory location while keeping the pointer pointing to that location is known as a dangling pointer in C.

Related questions

0 votes
    What is dangling pointer in C?...
asked Jan 21, 2021 in Technology by JackTerrance
+1 vote
    What is a dangling pointer in C Porgamming?...
asked Nov 9, 2020 in Technology by JackTerrance
0 votes
    What is a dangling pointer?...
asked Jan 17, 2021 in Technology by JackTerrance
0 votes
    What is the explanation for the cyclic nature of data types in C?...
asked Nov 8, 2020 in Technology by JackTerrance
0 votes
    What is the explanation for prototype function in C?...
asked Nov 8, 2020 in Technology by JackTerrance
0 votes
    What command is used for remove all stopped containers, unused networks, build caches, and dangling images? docker system kill ... kill -a docker system prune docker system rm -a...
asked Jun 22, 2021 in Technology by JackTerrance
+1 vote
    What is a pointer to a function? Give the general syntax for the same in C Programming?...
asked Nov 9, 2020 in Technology by JackTerrance
0 votes
    What is Indirection and Increment/Decrement operators with a pointer in C?...
asked Jan 24, 2021 in Technology by JackTerrance
0 votes
    How can we do Pointer comparison in C?...
asked Jan 24, 2021 in Technology by JackTerrance
0 votes
    How is a Program increment a pointer in C?...
asked Jan 24, 2021 in Technology by JackTerrance
0 votes
    Which type of pointer is the most convenient way of storing the raw address in C programming?...
asked Jan 23, 2021 in Technology by JackTerrance
0 votes
    What is the use of a double pointer (pointer to pointer) in C?...
asked Jan 22, 2021 in Technology by JackTerrance
0 votes
    How to declare a pointer to a function in C?...
asked Jan 22, 2021 in Technology by JackTerrance
0 votes
    What is the advantage of a void pointer in C?...
asked Jan 22, 2021 in Technology by JackTerrance
0 votes
    What is the usage of the NULL pointer in C?...
asked Jan 21, 2021 in Technology by JackTerrance
...