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

Related questions

1 answer 123 views
1 answer 250 views
250 views asked Jun 11, 2015 by avibootz
1 answer 154 views
1 answer 197 views
...