home *** CD-ROM | disk | FTP | other *** search
/ C by Discovery (4th Edition) / C_By_Discovery_4th_Edition.tar / C_By_Discovery_4th_Edition / CH_05 / 275.jpg < prev    next >
Joint Photographic Experts Group Image  |  2013-12-12  |  618KB  |  2550x3300
Labels: book | counter | crt screen | poster | reckoner
OCR: Introduction to Strings 275 de increment the value of stringptr by one and then dereference it.to access the stored character What happens in the final call tc pri ntf. Arrays and String Manipulation When program needs to manipulate a string the string is usually stored in an array that has sufficient space for all of the array manipulation. provides method of storing string in an array at the time the array declared. For exam- ple the declaration char Str ing arrayl 80 "Testing 3\n declares an array of80 chars, and stores the string Test ing 3\n in it.A terminating null character is also stored to delimit the end of "the string Once the string IS stored in the array the manipulation of the string could be done with assignment of values to the cells of the array. The program manip.c in Exa ...