xxxxxxxxxx
#include <stdio.h>
#include <stdlib.h>
int main()
{
printf("Hello world!\n");
return 0;
}
xxxxxxxxxx
#include <stdio.h>
#include <stdlib.h>
int main() {
printf("Hello, World!");
return 0;
}
xxxxxxxxxx
#include <stdio.h>
int main() {
printf("Hello world!");
printf("this is how to print anything in c");
return 0;
}
xxxxxxxxxx
/*Printing Hello World in C Programming*/
#include <stdio.h>
int main(){ //C unlike other languages must have atleast one function, the main function.
printf("Hello World"); //printf is defined in stdio.h, displays the output on the screen
return 0;
}
xxxxxxxxxx
#include <stdio.h>
int main()
{
printf("Hello, World"); //single line comment
return 0;
/*
multi
line
comments
/*
}