mirror of
https://github.com/ioacademy-jikim/debugging
synced 2025-06-08 08:26:14 +00:00
14 lines
265 B
C
14 lines
265 B
C
|
|
#include <string.h>
|
|
|
|
int main() {
|
|
char buffer[200] = "HALLO";
|
|
char *b2 = strdup(strcat(buffer, "THis is a very long strings"));
|
|
int len = strlen(b2);
|
|
if (len < 12)
|
|
return 0;
|
|
else
|
|
return 1;
|
|
}
|
|
|