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 / 218.jpg < prev    next >
Joint Photographic Experts Group Image  |  2013-12-11  |  659KB  |  2550x3300
Labels: book | crt screen | monitor | reckoner
OCR: 218 Chapter 4 Arrays and Pointers The previous program introduced the concept of pointer arithmetic Certain arithmetic operations are allowed that either combine two pointers or combine pointer and an integer. As demonstrated in the last program an integer value can be added to pointer example if variable floa An tptr had integer been can also declared be as type subtracted from the pointer expression variable For floatptr would memory zeof floatptr+2 also where have and float the type relationship next floatpt float is larger float It described are than would value bv also the could Figure evaluate potential address be to in the located. addresses address Its of tptr of the value values The would of location values type be float Their memory floatptr contents address sizeof float floatptr ...