Computer Science, asked by taibachowdhury4492, 11 months ago

What happens when a parameter in a procedure is declared by val?

Answers

Answered by anupama777vidya
4

Answer:

When a parameter in a procedure is declared ByVal, a copy of the argument is sent to the procedure. In other words, the argument of the procedure is passed by specifying the value of the parameter. The keyword ByVal is used for the parameter in the procedure. This feature is used in Visual Basic and copies the value of the programming element to a local variable that is used in the procedure.

Hope it helps you

Similar questions