what is dangling pointer?

what is dangling pointer?..

Answer / ninja

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

Is This Answer Correct ?    18 Yes 0 No

Post New Answer

More C Interview Questions

What is period operator in c?

3 Answers   Wipro,

There are 3 baskets of fruits with worng lables,one basket has apple,another basket has orange,another has combination of apple and orange,what is the least way of interchange the lables.

15 Answers   MBT, Cisco, Google,

int a=1,b=2,c=3; printf("%d,%d",a,b,c); What is the output?

14 Answers   Verifone,

prototype of sine function.

2 Answers   Cadence,

write a program to display reverse of a number using for loop?

14 Answers  

what is the output of the following program and explain the answer #include<stdio.h> exp() { main(5) } main(int a) { printf("%d",a); return; }

3 Answers   Satyam,

what do u mean by Direct access files? then can u explain about Direct Access Files?

0 Answers   LG Soft,

main() { int i; for(i=0;i<5;i++) printf("%d",1l<<i); } why doesn't 'l' affect the code??????

1 Answers  

how can we Declare a variable in c without defining it.

1 Answers   TCS,

Given an unsigned integer, find if the number is power of 2?

5 Answers  

Software Interview Questions

1 Answers   CAT,

what is the difference between %d and %*d in c languaga?

6 Answers   TCS,