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...

A(n) ________ address is a temporary IP address that is assigned from an available pool of IP addresses

A) dynamic B) transition C) static D) assigned

Computer Science & Information Technology

The Snipping Tool allows users to take pictures of their current screen. This feature was introduced in ________

A) Windows 8 B) Windows 7 C) Windows Vista D) Windows XP

Computer Science & Information Technology

Explain the following:

a. Why do embedded SQL and SQLJ use host language variables as parameters, whereas dynamic SQL, JDBC, and ODBC use the ? placeholders? b. What are the advantages of using host language variables as parameters in embedded SQL compared with ? placeholders?

Computer Science & Information Technology

A(n) __________ is a processor that precludes having to have a video adapter

Fill in the blank(s) with correct word

Computer Science & Information Technology