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 / 260.jpg < prev    next >
Joint Photographic Experts Group Image  |  2013-12-12  |  745KB  |  2550x3300
Labels: book | crt screen | monitor | reckoner
OCR: 260 Chapter Arrays and Pointers The name of an array without any brack kets gives the address of the first cell of the Pointers can be used to traverse arrays efficiently. If the efficiency ofa program is a major concern. array element access can be done more efficiently with pointer notation When an array passed as parameter to function, only the address passed in pointer holds memory address Each pointer type, char .nt and so on is a distinct type The pointer arithmetic is defined differently for different pointer types. Like all other variables, pointers must be initialized to point to something meaningful before either reading or writing their contents. Initialization of pointer variable can be done by assigning the address of a variable to the pointer or by calling mal oc to dynamical ...