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

How do you convert strings to numbers in C?

699


explain what is an endless loop?

600


What are categories used for in c?

553


while loop contains parts a) initialisation, evalution of an expression,increment /decrement b) initialisation, increment/decrement c) condition evalution d) none of the above

724


Explain low-order bytes.

615






What is meant by gets in c?

597


How do I convert a string to all upper or lower case?

619


Explain argument and its types.

591


What does static variable mean in c?

641


Explain how do you determine whether to use a stream function or a low-level function?

616


What is derived datatype in c?

625


console I/O functions means a) the I/O operations done on disk b) the I/O operations done in all parts c) the input given through keyboard is displayed VDU screen d) none of the above

645


What is the code for 3 questions and answer check in VisualBasic.Net?

1681


What are the primitive data types in c?

563


How do you convert a decimal number to its hexa-decimal equivalent.Give a C code to do the same

644