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

Write a code to remove duplicates in a string.

619


How do I get an accurate error status return from system on ms-dos?

636


What is the difference between local variable and global variable in c?

677


Write a C program to accept a matrix of any size. Find the frequency count of each element in the matrix and positions in which they appear in the matrix

1505


What is a class c rental property?

593






What does d mean?

570


How do you define a function?

577


What is c++ used for today?

649


any C program contains only one function, it must be a) void () b) main () c) message () d) abc ()

687


What does #pragma once mean?

674


Which function in C can be used to append a string to another string?

637


Difference between strcpy() and memcpy() function?

669


What is the difference between far and near ?

674


If i have an array 0 to 99 i.e,(Size 100) I place the values 1 to 100 randomly like a[0]=29,a[1]=56 upto array[99].. the values are only between 1 to 100. getting the array values by using scanf.. If i entered one wrong element value line a[56]=108. how can i find it.. and also how to find the missing value in 1 to 100.. and i want to replace the missing values.. any one of them know please post your answer..

1576


Why C language is a procedural language?

608