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.
Computer Science & Information Technology
You might also like to view...
If you create a picture link in a presentation, which of the following is NOT important?
A) Save the picture to the same folder as the presentation. B) Use the Link to File PowerPoint option. C) If you change the picture, save it as the same file name in the same location. D) Use all lower-case letters in the file name.
Computer Science & Information Technology
The very first time a document is saved the ________ field and the ________ field will have the same name
Fill in the blank(s) with correct word
Computer Science & Information Technology