Ask Question

Which of the following are TRUE? A function can call another function. As long as the function is defined anywhere in your program, it can be used anywhere else. A function definition can contain another function definition. If you have function prototypes, the order in which you define your functions is important.

+4
Answers (1)
  1. 20 October, 14:32
    0
    Option 1: A function can call another function.

    Explanation:

    A function can call another second function by mentioning it in the definition. So the first option is true. A function must be defined before calling it. Moreover it can only be used inside the main body. A function definition can may call another function by naming it but cannot have the definition of the second function inside it. The order of defining functions is not important because the only thing matters is that they should be defined before they are called never depending on the order of definition.
Know the Answer?
Not Sure About the Answer?
Find an answer to your question 👍 “Which of the following are TRUE? A function can call another function. As long as the function is defined anywhere in your program, it can ...” in 📗 Computers & Technology if the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers