How Run C Programs Without main() Method In C Language.

Run C Programs without main() method in c language
Run C Programs Without main() Method.

 
Let's See Simple Example For Run C Program Without main() Method:
#include <stdio.h>
#define cprogram main
int cprogram() {
	printf("Hello Friends, Good Morning");
	return 0;
}
Output:
Hello Friends, Good Morning

Post a Comment

0 Comments