Difference between null pointer and dangling pointer?

Answer Posted / rakshitha

Null pointer is a pointer which doesnot point to any where
in the memory location ,where as dangling pointer points to
memory location having garbage value.

Is This Answer Correct ?    8 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Where we use clrscr in c?

718


What is function prototype?

620


Are there namespaces in c?

578


What is chain pointer in c?

611


Why is event driven programming or procedural programming, better within specific scenario?

1961






void main(int n) { if(n==0) return; main(--n); printf("%d ",n); getch(); } how it work and what will be its output...............it any one know ans plz reply

2235


Tell us the use of fflush() function in c language?

649


Who developed c language and when?

596


The % symbol has a special use in a printf statement. Explain how would you place this character as part of the output on the screen?

673


What is fflush() function?

653


Write a program to print ASCII code for a given digit.

698


what is associativity explain what is the precidence for * and & , * and ++ how the folloing declaration work 1) *&p; 2) *p++;

1900


What is wrong in this statement? scanf(ā€œ%dā€,whatnumber);

735


What is the difference between test design and test case design?

1583


What are the different types of data structures in c?

614