What is the difference between a Sub procedure and a Function procedure?
What will be an ideal response?
Both Sub procedures and Function procedures are processed when called (invoked) from code. They both are processed only when called (or invoked) from code. The difference between a Sub procedure and a Function procedure is that a Function procedure returns a value after performing its assigned tasks, and a Sub procedure does not return a value.
You might also like to view...
Which of the following methods is not in the Math class?
a. ceil b. abs c. parseInt d. log
The protocol that is used for an e-mail link is ________
Fill in the blank(s) with correct word
On an optical disc, a land causes light to reflect, which is read as binary digit 0.
Answer the following statement true (T) or false (F)
When we insert data into a queue with data already in it, the only pointer that needs to be updated is the rear pointer, which is set to point to the new node.
Answer the following statement true (T) or false (F)