what is dangling pointer?

Answer Posted / ninja

A pointer referring to an area of memory that has been
deallocated. Dereferencing such a pointer usually produces
garbage

Is This Answer Correct ?    18 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is the function of pragma directive in c?

632


Define C in your own Language.

644


What is the return type of sizeof?

599


Describe newline escape sequence with a sample program?

661


what is the height of tree if leaf node is at level 3. please explain

1604






What is declaration and definition in c?

531


any function have arguments one or more OR not . it is compulsary a) any function compulsary have one or more arguments b) any function did not have arguments. It is not compulsary c) it is optional it is not compulsary d) none of the above

649


How does #define work?

654


What is string in c language?

630


How can I ensure that integer arithmetic doesnt overflow?

612


Can you define which header file to include at compile time?

593


In which header file is the null macro defined?

862


How can I find the modification date of a file?

708


Tell me can the size of an array be declared at runtime?

601


Array is an lvalue or not?

642