xxxxxxxxxx
#include <stdio.h>
int main() {
// Print "Hello C"
printf("Hello C");
return 0;
}
xxxxxxxxxx
#include <stdio.h>
#include <stdlib.h>
int main()
{
printf("Hello world!\n");
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(){
char[] sentence = "Hello World";
printf(sentence, "%s");
}