home *** CD-ROM | disk | FTP | other *** search
/ C by Discovery (4th Edition) / C_By_Discovery_4th_Edition.tar / C_By_Discovery_4th_Edition / CH_07 / 419.jpg < prev    next >
Joint Photographic Experts Group Image  |  2013-12-21  |  771KB  |  2550x3300
Labels: book | collection | poster | reckoner
OCR: Enumerated Types 419 fiers enumerated used in the The enumerated functions IS type and get the corresponding color the string. string For sales jade" ( example both passed if the call type value jade passed in item back in stri ing sales and print makest ing () for loop Both of the cells of functions. so the In array get get sales () and pr int sales contain a use color differ- sales ( to is ent access declared syntax the in and doing used as tring() an holding to print the inventory, sales) variable ints; but co this both lor variable variable of type functions is is enum used passed as as the index the array of parameter to makest an int index to the array of ints and passed to ma akestring() Note 1 The type enum color declared The value of ade will be o, the value of navy will be and so ...