Computer Science, asked by farzanaroni279, 1 year ago

What happens when a parameter in a procedure is declared byval?

Answers

Answered by writersparadise
12
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.
Similar questions