Concatenation of char*-strings, append s2 to s1.
Concatenation of char*-strings, append s2 to s1. The target string s1 must be long enough to accommodate the second string s2.
Name | Type | Default | Description |
s1 | char* | - | Target string |
2 | s2 | char* | - String to be appended to s1 |
int main() { char * s1 = alloc(256);
strcpy(s1, "con"); strcat(s1, "cat");
// s1 = "concat" showmessage(s1);
release(s1);
return 0; }
Alphabetic index HTML hierarchy of classes or Java