prog.c:5:1: error: expected ‘:’, ‘,’, ‘;’, ‘}’ or ‘__attribute__’ before ‘char’
char descricao[31];
^~~~
prog.c: In function ‘main’:
prog.c:13:10: warning: format ‘%d’ expects argument of type ‘int *’, but argument 2 has type ‘int’ [-Wformat=]
scanf("%d", cod);
^