If aPtr and bPtr point to consecutive nodes in a linked list, write the code that deletes the node pointed to by bPtr.

What will be an ideal response?

aPtr->link = bPtr->link;
bPtr->link = NULL;
delete bPtr;

NOTE: other names are possible for link.

Computer Science & Information Technology

You might also like to view...

A BindingNavigator control consists of a(n) ____ containing objects for common data-related actions.

A. DataToolStrip B. ToolStrip C. DataNavigator D. Connector

Computer Science & Information Technology

What is the importance of the transaction log tail in transaction log backups?

What will be an ideal response?

Computer Science & Information Technology