diff --git a/internet/web/html/bases.tml b/internet/web/html/bases.tml index 1be8970..3025532 100644 --- a/internet/web/html/bases.tml +++ b/internet/web/html/bases.tml @@ -645,9 +645,10 @@ langage C (pour les litt <PRE> #include &lt;stdio.h&gt; -int main() +int main(void) { printf("Hello, world!\n"); + return 0; } </PRE> @@ -657,9 +658,10 @@ int main()
 #include <stdio.h>
 
-int main()
+int main(void)
 {
     printf("Hello, world!\n");
+    return 0;
 }
 
@@ -940,7 +942,7 @@ s'il est s
Auteur : Marie-Lan Nguyen. Dernière -modification : .
+modification : .