Ask Question
4 June, 04:33

Which of the following is false? a. A function returns only one value to the statement that invoked it. b. A Sub procedure can accept only one item of data passed to it. c. The parameterList in a procedure header is optional.

+5
Answers (1)
  1. 4 June, 04:43
    0
    Answer: b.

    Explanation: A sub procedure

    is a series of Visual Basic statements enclosed by the Sub and End Sub statements. The Sub procedure performs a task and then returns control to the calling code, but it does not return a value to the calling code.

    While a Function is the named of the section of a program that performs a specific task.

    The difference between a function and a procedure is that a function performs a specific action which returns a value, while a procedure performs some operation but does not return a value.
Know the Answer?
Not Sure About the Answer?
Find an answer to your question ✅ “Which of the following is false? a. A function returns only one value to the statement that invoked it. b. A Sub procedure can accept only ...” in 📘 Social Studies if you're in doubt about the correctness of the answers or there's no answer, then try to use the smart search and find answers to the similar questions.
Search for Other Answers