home *** CD-ROM | disk | FTP | other *** search
/ C by Discovery (4th Edition) / C_By_Discovery_4th_Edition.tar / C_By_Discovery_4th_Edition / CH_04 / 206.jpg < prev    next >
Joint Photographic Experts Group Image  |  2013-12-11  |  683KB  |  2550x3300
Labels: book | reckoner | sky
OCR: 206 Chapter Arrays and Pointers Arrays as Parameters to Functions An tion decl lared code array in can the be function passed as header a and parameter function to a prototype function in and The accessed array in the must func- be as a totype If we parameter would want be to and declare a returns value function of named type doi double, it) the that syntax takes an ofthe array of function type pro- int double doit int intar ray[] This states that the formal parameter name is intarray, and that intarray is an array of type int indexing declared W Inside Then is the the method passed code function as discussed to the doi doi actual in t the the parameter previous called, array For the section. elements example name of can an be array accessed that has using been the IT ary[20] doit ary the ...