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 / 273.jpg < prev    next >
Joint Photographic Experts Group Image  |  2013-12-12  |  586KB  |  2550x3300
Labels: book | crt screen | poster | reckoner
OCR: Introduction tc Strings 273 execut- scanf will place address intf start its aches the in the array The array and haracters will remain in the input stream ons One The program stringl in Example 5-1 illustrates the basic concept of a string or while and some of the acceptable notation for accessing elements ofa string Both the array and the pointer syntax are illustrated like ariable Example 5-1 string1.c stringl Synopsis Displays string, address of string and sooe characters from the string ents ofa Obj ect ive To illustrate how compilers handle strings notation and Incl ude Files individ- #incl ude <stdio h> and int main void string Note param char *stringptr; vith the until stringptr "Test ing, 3\n Note 2 3\n printf( stringptr ) Note printf tr ingptr ; Note printf stri ingptr Note When N ...