Computer Science, asked by diyalpreet77775, 7 months ago

How many main fuctions can be used in c language

Answers

Answered by TheQuantumMan
1

Answer:

The Main function is the point of the program where its execution starts. Consequently, only one Main function can exist in any executable.

But in your source code, you may have more than one Main function. And with preprocessor directives, all of them with the exception of exactly one Main function are removed when the executable is built.

Similar questions