Author: Stan Eisenstat
Subject: Re: [Cs223] Testing null value in remD
Date: Wednesday, 01 Apr 2020, 16:48:53
> Message Posted By: Unknown
>
> I was just wondering how we could write code to test an invalid s argument
> in remD and headD. Since s is a pointer to a pointer, how would we set s
> to null before passing it in to remD/headD?
Deque d;
createD(&d);
headD(&d,NULL);
remD(&d,NULL);
--Stan-
PREV
INDEX
NEXT