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
/
294.jpg
< prev
next >
Joint Photographic Experts Group Image
|
2013-12-12
|
545KB
|
2550x3300
Labels:
book
|
reckoner
|
sky
|
skyscraper
|
windowpane
OCR:
294 Chapter Strings Incl lude Files ncl lude <stdio. h #incl .ude <stri ing h> #define Constant BUF SIZE Definiti 512 ons Note int main void char char char stri stri workstring ing2 ingl - [BUF "who know SIZE swal an lowed old lady" fly" Note 2 printf stringi printf "\n" pri int string2 printf "\n" if stremp( stringl string2 0 else printf ingl string2 Note 3 printf( "stringl stri ing2 \n"; st pr pri cpy intf( intf( "The "The workstri length length ing, Of of stri ingl stri string2 ingl 1c sd. \n" In" strlen strlen stri stri ing2 ing1 Note 4 else printf Istremp "Copy stri ingl, comp leted workstri ing ) successfully!\n" Note Note printf ErO found ir copy \n strcat( workstri ing, strcat( workstri ing stri ing2 Note 7 printf( "The work stri .ng now con tains: \n\t "\n" printf "The length of t ...