home *** CD-ROM | disk | FTP | other *** search
/ C by Discovery (4th Edition) / C_By_Discovery_4th_Edition.tar / C_By_Discovery_4th_Edition / CH_09 / 529.jpg < prev    next >
Joint Photographic Experts Group Image  |  2013-12-19  |  683KB  |  2550x3300
Labels: binder | book | daybook | reckoner
OCR: 9 Arrays of Pointers 529 erator Constant Definit 512 Lons the form +define BUF SIZE 50 ts of that +define NUM WORDS of type int main( void nt of identifier that [BUF WORDS} SIZE} Note 1 char instring char *words [NUM *current; int intf( "Enter text with words stdin delimited by blanks \n pri SIZE, fgets instri ing, BUF instring instring[ strlen Note words [0] current instri ing; Note while current strchr( current NULL Example *current+ Note 4 word words [i++] current, of text stored in \n" of the printf( printf( In "There reverse were 0; order words they in are that \n" line Note 5 minal in for >= words[i] print \r" return and loop is store There used its is to one work function, through ma array the in) of line type Input of char is input done to by find for the call loop to beginning dis ...