can we write c program without main 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!!!");
}