C Program without main() function25 Mar 2025 | 1 min read We can write c program without using main() function. To do so, we need to use #define preprocessor directive. Let's see a simple program to print "hello" without main() function. ExampleCompile and RunOutput: Hello Next TopicMatrix multiplication in C |
We request you to subscribe our newsletter for upcoming updates.

We provides tutorials and interview questions of all technology like java tutorial, android, java frameworks
G-13, 2nd Floor, Sec-3, Noida, UP, 201301, India