Explain the concept of "dangling pointers" in C.

Answer Posted / nashiinformaticssolutions

A dangling pointer points to memory that has been deallocated. Accessing it causes undefined behavior.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Hai what is the different types of versions and their differences

1711


What type is sizeof?

786


What is ctrl c called?

775


What is the most efficient way to store flag values?

885


What is switch in c?

835


What are pointers? Why are they used?

830


What is difference between constant pointer and constant variable?

896


Explain how can I manipulate strings of multibyte characters?

969


hi friends how r u as soon in satyam my interview is start but i m very confusued ta wat i do plz help me frndz wat can i do plz tell me some question and answers related with "C" which r asked in the interview .

2144


How do you print only part of a string?

775


Do string constants represent numerical values?

1117


The % symbol has a special use in a printf statement. Explain how would you place this character as part of the output on the screen?

886


What is an lvalue?

825


a c code by using memory allocation for add ,multiply of sprase matrixes

2512


What is modeling?

810