Discussion
Consider the case that a record is read by another, which is moved or deleted and it contains a pointer, then that pointer is called as :
Answer: C
Such a pointer is called a dangling pointer.
If a record holding a pointer to another record keeps that pointer after the target has been moved or deleted, the pointer now refers to a location that no longer holds the intended record. That is a dangling pointer, and following it gives wrong data or an error. Database systems avoid it with tombstones or indirection through record identifiers.
A dynamic pointer is just one allocated at run time, a pointer to pointer holds the address of another pointer, and 'unlinked pointer' is not a standard term.
Post your comment
Please log in or register to post a comment.
Examination Categories
- SSC Exams
- Banking Exams
- Teaching Exams
- Civil Services Exams
- Railways Exams
- Engineering Recruitment Exams
- Defence Exams
- State Government Exams
- Police Exams
- Insurance Exams
- Nursing Exams
- Other Government Exams
- NRA CET
- PG Entrance Exams
- Campus Placement
- MBA Entrance Exams
- CUET and UG Entrance
- Judiciary Exams
- Regulatory Body Exams
- Software Development