Ask Question
29 January, 02:52

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.

+2
Answers (1)
  1. 29 January, 03:49
    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?
Get 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 there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Search for Other Answers