sewardj | de4a1d0 | 2002-03-22 01:27:54 +0000 | [diff] [blame] | 1 | |
2 | #include <string.h> | ||||
3 | |||||
4 | int main() { | ||||
5 | char buffer[200] = "HALLO"; | ||||
6 | char *b2 = strdup(strcat(buffer, "THis is a very long strings")); | ||||
7 | int len = strlen(b2); | ||||
8 | if (len < 12) | ||||
9 | return 0; | ||||
10 | else | ||||
11 | return 1; | ||||
12 | } | ||||
13 |