thesmilingsikh

Gurmehar Singh Khalsa

Posted on June 5, 2021

Hello World !

Python

print('Hello World!')
Enter fullscreen mode Exit fullscreen mode

PHP

<?php echo "Hello World!"; ?>
Enter fullscreen mode Exit fullscreen mode

JavaScript

document.write('Hello World!');
Enter fullscreen mode Exit fullscreen mode

TypeScript

console.log("Hello World!");
Enter fullscreen mode Exit fullscreen mode

C

using System;
class Program
{
    public static void Main(string[] args)
    {
        Console.WriteLine("Hello World!");
    }
}
Enter fullscreen mode Exit fullscreen mode

C

#include 

int main(void)
{
    puts("Hello World!");
}
Enter fullscreen mode Exit fullscreen mode

C++

#include 

int main()
{
    std::cout << "Hello World!
";
    return 0;
}
Enter fullscreen mode Exit fullscreen mode

Java

class HelloWorldApp {
    public static void main(String[] args) {
        System.out.println("Hello World!"); // Prints the string to the console.
    }
}
Enter fullscreen mode Exit fullscreen mode

Bash

echo "Hello World!"
Enter fullscreen mode Exit fullscreen mode

MatLab

disp('Hello World!')
Enter fullscreen mode Exit fullscreen mode

R

cat('Hello World!
')
Enter fullscreen mode Exit fullscreen mode

Ruby

puts "Hello World!"
Enter fullscreen mode Exit fullscreen mode

Swift

println("Hello World!")
Enter fullscreen mode Exit fullscreen mode

Assembly

    global  _main
    extern  _printf

    section .text
_main:
    push    message
    call    _printf
    add     esp, 4
    ret
message:
    db  'Hello, World', 10, 0
Enter fullscreen mode Exit fullscreen mode

Go

package main

import "fmt"

func main() {
    fmt.Println("Hello, World")
}
Enter fullscreen mode Exit fullscreen mode

Objective-C

#import <Foundation/Foundation.h>

int main() {
    @autoreleasepool {
        NSLog(@"Hello, World!");
    }
}
Enter fullscreen mode Exit fullscreen mode

That's all for my First Post !

Hope, you enjoyed experiencing Greetings from the World of programming.

I love the way YOU Smile😊

💖 💪 🙅 🚩
thesmilingsikh
Gurmehar Singh Khalsa

Posted on June 5, 2021

Join Our Newsletter. No Spam, Only the good stuff.

Sign up to receive the latest update from our blog.

Related

Hello World !
python Hello World !

June 5, 2021