Say Hello World

Program to print Hello World
C programming

#include<stdio.h>
int main() {
printf("Hello World");
return 0;
}

C++ Programming

#include<iostream>
using namespace std;
int main() {
cout << "Hello World";
return 0;

Java Programming

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

Go Lang

package main
import "fmt"
func main() {
fmt.Print("Hello World")
}

php

<?php
echo "Hello world";
?>  

Comments

Popular posts from this blog

Arrays in C Language

Pointers in C Language

String in golang

Literals in Java

Reserved Words in Java

Identifiers

Data Types in Go language

Variable Naming & Scope of Variable

Overview of Go lang

Functions in C Language