Hello World !
Gurmehar Singh Khalsa
Posted on June 5, 2021
Python
print('Hello World!')
PHP
<?php echo "Hello World!"; ?>
JavaScript
document.write('Hello World!');
TypeScript
console.log("Hello World!");
C
using System;
class Program
{
public static void Main(string[] args)
{
Console.WriteLine("Hello World!");
}
}
C
#include
int main(void)
{
puts("Hello World!");
}
C++
#include
int main()
{
std::cout << "Hello World!
";
return 0;
}
Java
class HelloWorldApp {
public static void main(String[] args) {
System.out.println("Hello World!"); // Prints the string to the console.
}
}
Bash
echo "Hello World!"
MatLab
disp('Hello World!')
R
cat('Hello World!
')
Ruby
puts "Hello World!"
Swift
println("Hello World!")
Assembly
global _main
extern _printf
section .text
_main:
push message
call _printf
add esp, 4
ret
message:
db 'Hello, World', 10, 0
Go
package main
import "fmt"
func main() {
fmt.Println("Hello, World")
}
Objective-C
#import <Foundation/Foundation.h>
int main() {
@autoreleasepool {
NSLog(@"Hello, World!");
}
}
That's all for my First Post !
Hope, you enjoyed experiencing Greetings from the World of programming.
I love the way YOU Smile😊
💖 💪 🙅 🚩
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.