Ma questa if

if(*dati<*dati){

come ti ha fatto notare clynamen, come l'hai corretta?