Check out example codes for "can we write a program without main in c". It will help you in understanding the concepts better.

Code Example 1

#include<stdio.h>  
#define start main  
void start() 
{  
   printf("Hello, World!!!");  
}

Learn ReactJs, React Native from akashmittal.com