A linked list is normally specified by giving a pointer pointing to the first node of a list. An empty list has no nodes at all. What is the value of a head pointer for an empty list?
What will be an ideal response?
The null pointer value. The null pointer is obtained by assigning the int constant 0 to a pointer variable. C++ provides a preprocessor constant NULL, which evaluates to 0 for use in this situation.
You might also like to view...
When writing a business letter using ________ punctuation, you place a colon after the salutation and a comma after the complimentary closing
Fill in the blank(s) with correct word
Identify and briefly discuss two primary causes of computer-related health problems.
What will be an ideal response?
________ cable is not subject to electromagnetic interference or radio frequency interference.
A. Twisted-pair B. Fiber-optic C. Polycarbonate D. Coaxial
Random numbers are a series of numbers whose order cannot be predicted.
Answer the following statement true (T) or false (F)