home *** CD-ROM | disk | FTP | other *** search
/ C by Discovery (4th Edition) / C_By_Discovery_4th_Edition.tar / C_By_Discovery_4th_Edition / CH_10 / 571.jpg < prev    next >
Joint Photographic Experts Group Image  |  2014-01-29  |  769KB  |  2550x3300
Labels: book | poster | reckoner
OCR: 10.3 Character Input and Note 1 was read isd git will return value. zero value indi- cates nonalphabetic character and terminates the while loop. Note 4 Since the character just read may have been digit, it is put back into the input stream o that it will be read and tested in the nex while loop Note 5 Again input is done by getc and the input character tested If the character input digit isdi returns nonzero value and the next character is read A nondigit will terminate the wh loop Note 6: The nondigit character may have been an alphabetic is put back in the input stream to be read and tested again Note 7: This while loop will skip over all nondigits and nonalphabetics It t ter- minates if either digit or an alphabetic character 1+ read or if end-of-file reached. Note Note 8: Again, since ...