1#include <stdio.h>
2#include <stdlib.h>
3
4int main()
5{
6 printf("Hello world!\n");
7 return 0;
8}
1#include <stdio.h>
2int main() {
3 // printf() displays the string inside quotation
4 printf("Hello, World!");
5 return 0;
6}
1#include <stdio.h>
2int main() {
3 // printf() displays the string inside quotation
4 printf("Hello, World!");
5 return 0;
6}
7
1#include "stdio.h"
2int main(){
3 char[] sentence = "Hello World";
4 printf(sentence, "%s");
5}