27.11.2009, 21:16
Код:
char str1[100] = "Hello,"; // is creating a variable of type char str1 call and is stored inside the word hello. strcat(str1, " world!"); // is concatenating the str1 (Hello) with another string (World) puts(str1); // printing in the console output: Hello World!