Oppure si può usare la funzione toupper:

#include <ctype.h>

int toupper( int ch );