Question: This question is appropriate if you implemented the sequence class. The sequence's insert member function normally puts a new item before the current item. What
This question is appropriate if you implemented the sequence class. The sequence's insert
member function normally puts a new item before the current item. What does insert do if
there is no current item?
None of the above.
The new item is put at the end of the sequence.
The new item is put at the beginning of the sequence.
The insert precondition is violated.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
