Author: Stan Eisenstat
Subject: Re: [Cs223] addD()
Date: Sunday, 22 Mar 2020, 21:08:33
> Message Posted By: Unknown
>
> Can addD() assume that the Deque pointer passed is a valid Deque pointer?
No. As stated in Hwk4/Deque.h:
// Each returns the status of the operation, either true (= success) or false
// (= failure; e.g., an invalid argument, an inconsistent Deque object, or a
// NULL return from malloc() / realloc()).
--Stan-
PREV
INDEX
NEXT