Home » » Run program without main() Function in C

Run program without main() Function in C

#include<stdio.h>
#define decode(s,t,u,m,p,e,d) m##s##u##t
#define begin decode(a,n,i,m,a,t,e)

int begin()
{
printf(" hello ");
getch();
}



Type this program and past it to TC.
it's done. the program will run without main function !
enjoy
....


Author:

Dhananjay-Founder and Editor-in-Chief of 'GeekDave' He is passionate about the development of the internet, technology, and cybersecurity. if you have any query feel free to contact Author via Info [at] Geekdave.in

600+ Email followers!
Don't want to miss anything?
Get weekly updates on the newest articles right in your mailbox. Subscribe now