Register Now

Login

Lost Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

What will happen while using pass by reference?

a) The values of those variables are passed to the function so that it can manipulate them
b) The location of variable in memory is passed to the function so that it can use the same memory area for its processing
c) The function declaration should contain ampersand (& in its type declaration)
d) The function declaration should contain $

Answer: b
Explanation: In pass by reference, we can use the function to access the variable and it can modify it. Therefore we are using pass by reference.

Join The Discussion