---
title: "Discussion on \"\"Hello World!\" in C++ Without Semicolon\" | Hashnode"
description: "Discussion on \"\"Hello World!\" in C++ Without Semicolon\". This was an interesting puzzle from a training on C++ Standard Template Library. Just as the title says, can you write a \"Hello World!\" program without using any semicolon ;?\nIt turns out the answer is yes. Hint: the condition of an if statement is a..."
url: "https://hashnode.com/posts/hello-world-in-c-without-semicolon/61480864699fe76cd348399d"
---

[Feed](https://hashnode.com/feed) /

Discussion

# ["Hello World!" in C++ Without Semicolon](https://xiaochenz.hashnode.dev/hello-world-in-c-without-semicolon?utm_source=hashnode&utm_medium=feed)

This was an interesting puzzle from a training on C++ Standard Template Library. Just as the title says, can you write a "Hello World!" program without using any semicolon ;? It turns out the answer is yes. Hint: the condition of an if statement is a...

Sep 20, 2021 · 1 min read · xiaochenz.hashnode.dev  
Read the article

-   [#cpp](https://hashnode.com/tag/cpp)

## Written by

[Xiaochen Zhou](https://hashnode.com/@xiaochenz)

@xiaochenz

  
[View profile](https://hashnode.com/@xiaochenz)

cpp

## Responses 1

Markdown supported · ⌘↵ to post

[Akash Deshpande](https://hashnode.com/@akashdeshpande)

[Sep 20, 2021](https://hashnode.com/posts/hello-world-in-c-without-semicolon/61480864699fe76cd348399d/comment/6148a3fa699fe76cd3484bc7)

Nice trick!
