Computer Science, asked by PAVITHRAA23, 2 months ago

we should include dash operator in front of formal parameters in call by reference method

a) ::
b) &
c) *
d) !

Answers

Answered by lakshmiprakash04
0

Answer:

Explanation:

Before we discuss function call by reference, lets understand the terminologies that we will use while explaining this:

Actual parameters: The parameters that appear in function calls.

Formal parameters: The parameters that appear in function declarations.

For example: We have a function declaration like this:

int sum(int a, int b);

The a and b parameters are formal parameters.

We are calling the function like this:

int s = sum(10, 20); //Here 10 and 20 are actual parameters

or  

int s = sum(n1, n2); //Here n1 and n2 are actual parameters

In this guide, we will discuss function call by reference method. If you want to read call by value method then refer this guide: function call by value.

Similar questions