1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
Ciao mondo! #include <stdio.h> La funzione main() viene eseguita automaticamente all'avvio. int main (void) { Si limita a emettere un messaggio. printf ("Ciao mondo!\n"); Attende la pressione di un tasto, quindi termina. getchar (); return 0; }
1 2
Line 2: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'mondo' Line 8: error: missing terminating ' character