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

String in golang

Arrays in C Language

Literals in Java

Pointers in C Language

Inline V/S Block Level Element

Reserved Words in Java

Identifiers

Data Types in Go language

Printing in C programming

Variable Naming & Scope of Variable