Multiple choice technology testing

By default, arguments can be passed to the procedure using

  1. Byval

  2. Byref

  3. ByArg

  4. ByRes

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

In VBScript and QTP procedures, arguments are passed by reference (ByRef) by default. This means the procedure receives a reference to the original variable, so any changes made to the parameter within the procedure affect the original variable. ByVal must be explicitly specified if you want to pass a copy instead.