Check out example codes for "run program without main method using macro". 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