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 / 216.jpg < prev    next >
Joint Photographic Experts Group Image  |  2013-12-11  |  544KB  |  2550x3300
Labels: book | crt screen | monitor | reckoner | sky
OCR: 216 Chapter 4 Arrays and Pointers 5 Pointer Arithmetic To gram further address3 C understand in pointer to It is a a type as modification separate of data address2 type, consider the pro- Example 4-7 Example 4-7: address3.c address3 Synopsis Uses pointers to print the addresses of char vari iable and an int variabl and the address the next avai ilable memory locati ion for each data type Obj ecti ive Illustrates what is meant by pointer- to-int being separate data type Demons trates synt ax of the init: al result declaring zat of ion of adding pointer- pointer -to to poi -char variables, inter vari iable, variables and of different types Incl Lude Files incl lude Kstdio h> int main( void int char intvar, charvar *int char ptr; ptr &charvar; Note Note int ptr &intvar; pr intf( "The address ...