Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Explain the concept of "dangling pointers" in C.

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

Why do we use stdio h and conio h?

1136


find the output? void r(int a[],int c, int n) { if(c>n) { a[c]=a[c]+c; r(a,++c,n); r(a,++c,n); } } int main() { int i,a[5]={0}; r(a,0,5); for(i=0;i<5;i++) printf("\n %d",a[i]); getch(); }

2352


What are the types of arrays in c?

1237


What is memory leak in c?

1175


What is the purpose of realloc()?

1199


Explain how do you list files in a directory?

1114


What is typedef example?

1259


How can you draw circles in C?

1197


What are control structures? What are the different types?

1145


What do you mean by a sequential access file?

1136


How to set file pointer to beginning c?

1249


Process by which one bit pattern in to another by bit wise operation is?

1225


Design a program which assigns values to the array temperature. The program should then display the array with appropriate column and row headings.

2368


How can I access an I o board directly?

1129


1234554321 1234 4321 123 321 12 21 1 1 12 21 123 321 1234 4321 1234554321

3784