HP Exam Questions

What should you use to call this custom function and pass your param_quantity value to it?

You are calling a custom function in a script you have written. The custom function takes an
integer and is of the format myfunc(int); The HP LoadRunner parameter is called param_quantity.
What should you use to call this custom function and pass your param_quantity value to it?

A.
myfunc(({param_quantity}”).getInt))

B.
myfunc( atoi ( lr_eval_string(“{param_quantity}”)))

C.
myfunc(“{param_quantity}”)

D.
myfunc(lr_string_int(“{param_quantity}”))

E.
myfunc((integer) lr_eval_string({“param_quantity}”))

Explanation: