Создать Аррию Чарса Маллока
#include <stdlib.h>
char *str = malloc(lenOfWord + 1);
//We dont need to multiply the size by sizeof(char) because it is equal to 1
Bright Boar
#include <stdlib.h>
char *str = malloc(lenOfWord + 1);
//We dont need to multiply the size by sizeof(char) because it is equal to 1