Author: Stan Eisenstat
Subject: Re: [Cs323] Storage Requirements Clarification
Date: Thursday, 12 Nov 2020, 08:15:03
> Message Posted By: Unknown > > If the program uses 8 bytes, then mallocs 8 more, then frees the initial > 8, then allocates 8 more, then frees the initial 8, and so on, does the > test script count the storage used as 16 (most bytes used at once) or as > 8*(# of mallocs)? As 16, the largest number of bytes ever allocated at any point in time. --Stan-PREV INDEX NEXT