Ad
char * fanis (char * input, int value) {
  int    length = strlen (input);
  char * output = (char *) malloc (sizeof(char) * (length + 1));
  
  memcpy (output, input, length + 1);
  
  return output;
}