0

Is it possible run program without main() function in c language

27th Nov 2021, 4:30 PM
Nitesh Rauniyar
4 ответов
+ 2
Yes main () is just the default entry point of your program, you can always tell your linker to change it to something else. For gcc it's "-e" option
27th Nov 2021, 4:46 PM
Arsenic
Arsenic - avatar
0
Tell a simple program of c in which there is no main() function
29th Nov 2021, 4:24 AM
Nitesh Rauniyar
0
Sanskar gupta take any C program and remove the main function and you would have a "simple c program with no main () function " Even a blank file would also do.
29th Nov 2021, 12:24 PM
Arsenic
Arsenic - avatar