Rúben Lício escreveu:
void main() { char *x = malloc(10+1);
Por favor, evite declarar a main como void! <http://c-faq.com/ansi/voidmain.html> Att, Renato