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

main() { struct test { char c; int i; char m; } t1; printf("%d %d\n", sizeof(t1), sizeof(t1.c)); }

1 Answers   Vector, Vector India,

write a prgram of swapping with 2 valiables

6 Answers  

what is object oriental programing?

1 Answers  

`write a program to display the recomended action depends on a color of trafic light using nested if statments

0 Answers  

How can I find out how much memory is available?

1 Answers   Persistent,

which one low Priority in c? a)=,b)++,c)==,d)+

10 Answers  

When do you say that a digraph is acyclic A)if and only if its first search does not have back arcs B)a digraph is acyclic if and only if its first search does not have back vertices C)if and only if its first search does not have same dfnumber D)None of these

1 Answers   Accenture, IBM,

write a program to delete an item from a particular location of an linear array?

1 Answers  

#define f(g,h) g##h main O int i=0 int var=100 ; print f ("%d"f(var,10));} what would be the output?

1 Answers   Wipro,

hi how to convert program from notepad to turboc editor can u please help me

3 Answers  

b) 4 c) 6 d) 7 32. Any C program a) must contain at least one function b) need not contain ant function c) needs input data d) none of the above 33. Using goto inside for loop is equivalent to using a) continue b) break c) return d)none of the above 34. The program fragment int a=5, b=2; printf(“%d”,a+++++b); a) prints 7 b)prints 8 c) prints 9 d)none of the above 35. printf(“ab” , “cd”,”ef”); prints a) ab abcdef c) abcdef, followed by garbage value d) none of the above 36. Consider the following program segment. i=6720; j=4; while((i%j)==0) { i=i/j; j=j+1; } On termination j will have the value a) 4 b) 8 c) 9 d) 6720

1 Answers   HCL,

Give the Output : * * * * * * * * * *

2 Answers