Answer the following statements true (T) or false (F)
1. It is illegal to use an assignment statement to store one pointer value into another pointer
2. Relational operators cannot be used on pointer variables.
3. A pointer variable can contain only a memory address.
4. If the number of elements to be placed in a stack can vary significantly as a program executes, it is usually better to represent the stack as a dynamically allocated linked list rather than as an array
5. When representing a stack as a linked list, all insertions and deletions are done at the rear of the list.
1. False
2. False
3. True
4. True
5. False
You might also like to view...
What is the correct format for a line-break tag?
What will be an ideal response?
To find the smallest and largest element of a Collection, use Collections methods _________ and __________.
a. least, greatest. b. smallest, largest. c. first, last. d. min, max.
The private members of a superclass can be accessed by a subclass.
Answer the following statement true (T) or false (F)
A closed source is a type of software product that is pre-compiled and whose source code is undisclosed.
a. true b. false