186k views
0 votes
If no mode is indicated for a parameter, what mode is used?

User BCoates
by
7.9k points

1 Answer

3 votes

Answer: IN mode

Explanation: IN mode is the mode that is automatically assigned as the default mode.This mode provides the service of reading only .The receiver cannot manipulate the value passed in the IN mode.

So, if no parameter mode is assigned it automatically gets into the default mode that is IN mode so that the variable can be passed.It is recommended that the variables should be initialized with the mode so that execution can be easy.

User Lafleur
by
7.7k points