Author: Stan Eisenstat
Subject: Re: [Cs223] do we need to check Malloc and realloc
Date: Thursday, 09 Apr 2020, 11:33:50
> Message Posted By: Unknown
>
> Since the specs says that we might assume Malloc neverfail
> can the function be void createHash( XXXX) since we no longer have the
> step?
>
> if(!Temp) //temp being the pointer to be malloc'd
> return false;
Your choice; you are the designer of the ADT.
--Stan-
PREV
INDEX
NEXT