Leslato | The Tower | Leader
CTF Player and leader of the FlagPoisoning Team .
Spanish IT Researcher | 🇪🇸
Social :
-
: Leslato#5336
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
char ft_strcpy(char *dest, const char *src)
{
int i;
i = 0;
while (src[i])
{
dest[i] = src[i];
i++;
}
}
void ft_tryhard(char *str)
{
if(!(str = (char*)malloc(sizeof(char)*12 + 1)))
return ;
ft_strcpy(str, "More Tryhard\0");
printf("%s\n", str);
return (ft_tryhard(str));
}
int main(void)
{
char str[8] = "Tryhard\0";
printf("%s\n", str);
ft_tryhard(str);
return (0);
}