Hai visto tutte le linee che ti ho detto di modificare?

Anche questa

agenda *k;

?