dangling pointer
English
| Examples |
|---|
char* dp; // dp is immediately dangling as it is uninitialized
|
Noun
dangling pointer (plural dangling pointers)Category:English lemmas#DANGLINGPOINTERCategory:English nouns#DANGLINGPOINTERCategory:English countable nouns#DANGLINGPOINTERCategory:English multiword terms#DANGLINGPOINTERCategory:English entries with incorrect language header#DANGLINGPOINTERCategory:Pages with entries#DANGLING%20POINTERCategory:Pages with 1 entry#DANGLING%20POINTER
- (programmingCategory:en:Programming#DANGLINGPOINTER, loosely) A pointer (variable that holds the address of a memory location) that does not reference a valid object.
- Synonym: wild pointer
- (programmingCategory:en:Programming#DANGLINGPOINTER, strictly) A pointer referencing memory that was previously deallocated.
Translations
pointer that does not reference a valid object
