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 / 516.jpg < prev    next >
Joint Photographic Experts Group Image  |  2013-12-19  |  560KB  |  2550x3300
Labels: binder | book | crt screen | planking | reckoner | screen
OCR: 516 Chapter Multidimensional Arrays and Double Indirection #def ine ROWS #define COLUMNS Funct ion Protot ypes void pr PRECONDITION: intab int rows rows and int co col Lumns suun int contain the array[] numbers [5]; rows Note and columns of array POSTCOND ITION Di spl ays the contents of an of type int int main void int mul Larray ROWS] COLUMNS] Note 2 row col umn, for for row col .umn row 0 ROWS; col lumn row++ COLUMNS col umn Note 3 mu + array row] co umn row col umn printab( ROWS COLUMNS mult array return printab void printab( int rows int COJ lumns int array[] [C0 UMNS Note4 int while rows printf arxay[i][j] Note 5 columns columns j=0 Note 5 Running the Program Two functions. main and pr intab make up this program Variables are declared inside main) The code consists ofa set of nested ...