how to write a program without main function in c code example
Example 1: can we write a program without main in c
#include<stdio.h>
#define start main
void start()
{
printf("Hello, World!!!");
}
Example 2: run program without main method using macro
#include<stdio.h>
#define start main
void start()
{
printf("Hello, World!!!");
}