Risolto tutti e due i problemi usando scanf anche per le stringhe,
grazie comunque per gli aiuti