The task is to write a program to print Hello World without using main() and semicolon.
As we already know how to print Hello World without the use of a semicolon. Now for writing without main() method, we will need a Macro.
- Print Hello World without semicolon in C/C++
- How to print a semicolon(;) without using semicolon in C/C++?
- C/C++ program for calling main() in main()
- C Hello World Program
- Writing first C++ program : Hello World example
- Program to print Hut
- Program to print the given Z Pattern
- Program to print DNA sequence
- Program to print the pattern 'G'
- Program to print 2D shapes
- Program to print pattern
- C++ program to print all Even and Odd numbers from 1 to N
- Program to print the Cot Bed Pattern
- Program to print the pattern "GFG"
- Program to print the pattern ‘D’
- Program to print the Sum of series -1 + 2 + 11 + 26 + 47 +.....
- Program to print the given H Pattern
- C++ Program to Print Cross or X Pattern
- C Program to print all permutations of a given string
- Program to print number pattern
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to firstname.lastname@example.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.