domande:

ma scanf è per caso una funzione che restituisce un particolare valore in caso fallisca?
in c/c++ c'è per caso try .... except... etc?