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 / 227.jpg < prev    next >
Joint Photographic Experts Group Image  |  2013-12-11  |  742KB  |  2550x3300
Labels: book | reckoner | sky
OCR: Array as a Pointer 227 An Learning Activities 30. Why has as input ptr been declared as a pointer-to- int and variables why is declared an integer? In this program char should these instead? have been declared as types char and Which input of ptr the other operators could have conditional been used to statement test to in see two if was NULL? Rewrite that different ways. 4.7 An Array as Pointer In C very specific relationship exists between an array and a pointer It is neces- introduced the concept pointer. sary In to Section understand an address we this of a relationship memor thoroughly. In treview, said to point pointer to vari- that able holds location. The variable memory location. variable asterisk each fol- lowed by pointer an declaration consists with of a type semicolon. followed ...