Comment faire un programme Hello World en C
#include <stdio.h>
#include <stdlib.h>
int main() {
printf("Hello, World!");
return 0;
}
Dull Dugong
#include <stdio.h>
#include <stdlib.h>
int main() {
printf("Hello, World!");
return 0;
}
#include <stdio.h>
int main()
{
printf("Hello, World"); //single line comment
return 0;
/*
multi
line
comments
/*
}
#include <stdio.h>
int main(){
printf("hello world");
return 0;
}
#include <stdio.h>
int main(0)
{
printf("Hello World!\n");
return 0;
}
#include "stdio.h"
int main(){
char[] sentence = "Hello World";
printf(sentence, "%s");
}
#include <stdio.h>
int main() {
printf("Hello World!");
return 0;
}