Hey, guys, welcome back to the calls.
So in this, we don't we will learn a new concept called called biodefense.
So our problem is still the same.
That we have to implement a snap function that does have two numbers.
So the problem with the last case was so we were passing by values.
So suppose this is A and B and the values are seven in five.
So this is my function.
My step.
Then I told you that this, eh, this, eh?
And they say they are different because they have different scope.
Now, I was calling the function by venue.
So by voluminous, what I will do, I will pass the venue.
Seven and similarly, I will pass D Relu five.
And then in this ad function, I was slapping these numbers.
OK.
So suppling these numbers will not have any effect on these numbers.
So that is the reason.
And the main function, the values of NDB are not changed at all.
Now, what do you want to do is I want to implement this Web function in such a way that the values
in main functions are changed.
So for this, we have something called called by defense.
So what we will do, instead of passing values, instead of passing values, we will pass the bucket.
We will pass the boxes.
So instead of passing that way, Lou, I will pass boxes and how we can do so.
So we have something called a reference variable.
A reference variable.
OK, so we have something called the defense variable.
So what I will do, I will create nicknames.
So let's see with the help of code word changes we have to do.
So this was my call by value.
I am creating a new file, let's call it called Bio-Reference.
Copy the entire code.
Now, what is the thing that we have to do?
We have to pass the values Bio-Reference gnawed by value.
So for that, we have to create a reference variable.
And for making that, eventually, will we just have to do this?
And this and that is all.
So this is called call by reference.
We are passing the entire book.
We are not passing the values.
OK.
Now, you can see yourself before stepping in Maine, seven and five after sleeping in Maine, five
and seven.
So the values are getting slabbed.
My step function is working perfect.
OK.
So you can remove all this stuff.
So before slapping, we lose our seven and five, and after serving, they may lose us five and seven.
So my step function, my step function is working, correct?
So the minor change we have to do this is call call by defense.
So if you will change the name, for example, let's call it X, let's call it Ray.
It doesn't have any effect outward will be correct.
OK, so we have to change name here also so and X.
Exit was.
Why and why equals temp.
So their values are getting swept seven in five, five and seven.
Now let's see how cold biodefense is working.
So I'm calling this function NDB.
So this is my.
And this is my B values are seven and five, and I am creating at friends variable.
So what will happen?
This bucket will come here and the name of this bucket in this function is X.
Similarly, this bucket will come here and the name of this bucket in my step function is Y.
We lose our seven and five because we have bossed the entire bookit.
We are passing the end there.
Look, it's.
And now we are slipping with the help of X and Y.
So with that X and Y, X and Y, yeah, nickname X and Y are nicknames.
X is nickname Offie.
Y is nickname of.
B, so any changes in X anyway will result in the changes of Will so.
So here the values are getting stabbed.
Similarly, the Israelis will also get slapped because this bucket is the same as this bucket.
OK.
So now you know, the difference between call by value and Kalwaria fence, so-called weigh value,
what it does, it will just give the value and what coalbed Air France really does.
It will pass on the entire bucket.
OK.
Thank you.