Ask Question
8 February, 04:41

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.

+3
Answers (1)
  1. 8 February, 04:59
    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 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