Define dangling pointer?, C/C++ Programming

A: A dangling pointer arises while you use the address of an object after its lifetime is end. It may occur in situations such as returning addresses of automatic variables from a function or by the address of the memory block after this is freed.

 

Posted Date: 3/19/2013 8:56:36 AM | Location : United States







Related Discussions:- Define dangling pointer?, Assignment Help, Ask Question on Define dangling pointer?, Get Answer, Expert's Help, Define dangling pointer? Discussions

Write discussion on Define dangling pointer?
Your posts are moderated
Related Questions
Write algorithm and program for the conversion of a Tree to a Binary Tree

Assignment:  write a C program and a MASM procedure.  The C program calls the MASM procedure to perform letter case conversion. Text sections covered:  12.1 to 12.3.1 Write a

I''m having trouble with my C code to red from a Hash table. Not sure what it is I''m doing wrong and stumped. I need to get it figured out by tomorrow at 4:00 p.m. Eastern time. C

Define Character Input and Output with Files? This is done by using equivalents of putchar and getchar which are called putc and getc. Each one takes an extra argument which id


C Program for ADD,SUB,MUL,DIV,REM void main() {   int a,b,c,ch=0;           clrscr();           while(ch           { printf(" \n\n 1:- For To Add\n 2:- For

write a c++ program which finds minimum of three numbers

#include #include #include #include #include class Employee { private: char *Name; //Set them as pointers... int IdNumber; char *Department; char *Position; public: voi

Algorithm for railway ticket booking process

Yes. "Memory pools" are useful in many situations. The bad news is that I'll need to drag you through the mire of how it acts before we talk about all the uses. Firstly, recall