Write a program that prints "Hello World" to the screen code example

Example 1: how to make a hello world program in c

#include <stdio.h>
#include <stdlib.h>

int main() {
  printf("Hello, World!");
  return 0;
}

Example 2: Write a program that prints "Hello World" to the screen

public class Main {
  public static void main(String[] args) {
    System.out.println("Hello, World!");
  }
}

Example 3: how to print hello world in c

echo "Hello World"

Example 4: print hello world in c language

#include <stdio.h>
int main() {
   // printf() displays the string inside quotation
   printf("Hello, World!");
   return 0;
}

Tags:

C Example