Explain the concept of "dangling pointers" in C.

Answers were Sorted based on User's Feedback



Explain the concept of "dangling pointers" in C...

Answer / nashiinformaticssolutions

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

Is This Answer Correct ?    0 Yes 0 No

Explain the concept of "dangling pointers" in C...

Answer / glibwaresoftsolutions

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

More C Interview Questions

who did come first hen or agg

15 Answers   Infosys,


What is this pointer in c plus plus?

0 Answers  


how many keywords do C compile?

7 Answers   Microsoft, Practical Viva Questions,


which types of data structure will i use to convert infix to post fix???

5 Answers   IIT,


how to get starting address of a running C program

3 Answers  


Is printf a keyword?

0 Answers  


What is a null string in c?

0 Answers  


Explain about C function prototype?

0 Answers  


Compare and contrast compilers from interpreters.

0 Answers  


Explain what will the preprocessor do for a program?

0 Answers  


What is #pragma directive?how it is used in the program? what is its advantages and disadvantages?

2 Answers  


How are portions of a program disabled in demo versions?

0 Answers  


Categories