PREV INDEX NEXT

Author: Stan Eisenstat
Subject: Re: [Cs223] Hwk4 Array?
Date: Monday, 23 Mar 2020, 22:22:21


    > Message Posted By: Unknown
    >
    > Would using strdup and strndup to copy portions of a command line argument
    > (the pos and len) be considered using an array that we shouldn't be using?
    > Or are we allowed to do so?

Since strdup() and strndup() use malloc() to allocate
space for the copy, they may not be used outside the
implementation of the Deque ADT.

--Stan-
PREV INDEX NEXT