How to compile and run a program without main() function in C

1 Answer

0 votes
#include <stdio.h> 

#define start main  

int start() {    
   printf("c programming");   
   
   return 0;
}    



/*
run:

c programming

*/

 



answered Oct 6, 2019 by avibootz
...