home *** CD-ROM | disk | FTP | other *** search
/ C by Discovery (4th Edition) / C_By_Discovery_4th_Edition.tar / C_By_Discovery_4th_Edition / CH_08 / 477.jpg < prev    next >
Joint Photographic Experts Group Image  |  2014-01-29  |  782KB  |  2550x3300
Labels: binder | book | reckoner
OCR: Function Definitions 477 should be omitted from your file before compiling it Test the pro- Note 2 gram with several different lines of input. What happens if more characters are put into the stack than there room for in the buffer? Do the stack utility functions allow you to overwrite the end of the array? Why or why not? Modify ma in to output a diagnostic message when an attempt ote 3 I5 made to overrun the array The modification should not refer- ence the constant MAX, the array elts or the index top since those are part of the specifics of the STACK implementation. Instead, the values returned by the STACK utility functions should be examined to provide the needed information. Test stackex.c by entering : carriage return immediately after the prompt. Does this cause any problems? Trac ...