In a C program main function is the entry point so it is mandatory to have a main function.
But let us see how can we write a program without main (Kind of hiding main in some obfuscated code). This post is purely out of interest to know that we can do something weird like this, just for learning.