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 / 229.jpg < prev    next >
Joint Photographic Experts Group Image  |  2013-12-11  |  572KB  |  2550x3300
Labels: book | poster | reckoner
OCR: as Pointer 229 An Array lin the to the and Example 4-10: arrayptr.c so on value ointer. arrayptr in ncepts. the Synopsis Prints sizeof, and information the about contents the an address, array, the using not rray on both array and poi inte notat on oth trast the qo iective To and arrays illustrate and the to relat demonstrate ionship array some between of elements the different methods to access Ws the Incl lude Files ion ser #incl Lude <stdio h> initial void int main( Note 1 makes char demoa demoptr rray[5] demoarray, D '1', ".W. '0' char int Note 2 dptr, pY pri intf( "demoarray is demoarray X% \n" demoarray izeof in" demoarray ints to intf( 5 zeof printf( "sizeof demoa rray[0] zeof demoarray[0] Note 3 is the printf intf( S ndemoptr is n izeof( demoptr emory int) pr pr izeof izeof( (demop ...