home *** CD-ROM | disk | FTP | other *** search
/ C by Discovery (4th Edition) / C_By_Discovery_4th_Edition.tar / C_By_Discovery_4th_Edition / CH_11 / 648.jpg < prev    next >
Joint Photographic Experts Group Image  |  2013-12-20  |  540KB  |  2550x3300
Labels: monitor | reckoner
OCR: 648 Chapter Library and Preprocessor Facilities i+ Twea1eaee Tweeaiea NULL fol low ptr lead ptr Figure 11-21 Note 12: After the list is displayed release() is called to de-allocate the memory pesn by the list Because the program ends here, this sten was not program, really necessary de-allocating but since memory lroutine would like be this necessary could be in part that ofa situation larger See Figure 11-22 for the final configuration NULL Figure 11-22 Learning Activities Execute the program with several sets of input to make sure that works Try it with long lines and short lines, many lines and few lines. If you ran out of memory, that seem reasonable for the amount of input you entered? What happens when end -of-file is signaled immediately after the prompt? Does the program terminate ...