In C, the program execution starts from?
a) The function which is first defined
b) main() function
c) The function which is last defined
d) The function other than main()
Answers
Answered by
0
your answer is
b. main() function
b. main() function
Answered by
1
Answer:
The correct answer is (b) main() function. Program execution starts and ends at this in case of C programming language. At the beginning of all C programs, the execution control directly goes to main().
This function is called by the operating system itself while the user is running the program. It also invokes all other functions that are lying with it and coordinates the proper flow of any program.
Similar questions