1
00:00:01,370 --> 00:00:03,250
Hey, guys, welcome back to the calls.

2
00:00:03,800 --> 00:00:07,890
So in this, we don't we will learn a new concept called called biodefense.

3
00:00:09,420 --> 00:00:12,000
So our problem is still the same.

4
00:00:13,620 --> 00:00:18,390
That we have to implement a snap function that does have two numbers.

5
00:00:18,990 --> 00:00:23,910
So the problem with the last case was so we were passing by values.

6
00:00:24,300 --> 00:00:28,050
So suppose this is A and B and the values are seven in five.

7
00:00:28,770 --> 00:00:30,930
So this is my function.

8
00:00:30,960 --> 00:00:31,680
My step.

9
00:00:32,800 --> 00:00:35,620
Then I told you that this, eh, this, eh?

10
00:00:35,680 --> 00:00:38,860
And they say they are different because they have different scope.

11
00:00:39,580 --> 00:00:42,210
Now, I was calling the function by venue.

12
00:00:42,670 --> 00:00:45,640
So by voluminous, what I will do, I will pass the venue.

13
00:00:46,770 --> 00:00:50,160
Seven and similarly, I will pass D Relu five.

14
00:00:50,580 --> 00:00:54,870
And then in this ad function, I was slapping these numbers.

15
00:00:55,800 --> 00:00:56,040
OK.

16
00:00:56,310 --> 00:01:00,270
So suppling these numbers will not have any effect on these numbers.

17
00:01:01,110 --> 00:01:02,130
So that is the reason.

18
00:01:02,420 --> 00:01:07,320
And the main function, the values of NDB are not changed at all.

19
00:01:09,100 --> 00:01:15,350
Now, what do you want to do is I want to implement this Web function in such a way that the values

20
00:01:15,370 --> 00:01:17,380
in main functions are changed.

21
00:01:18,310 --> 00:01:22,710
So for this, we have something called called by defense.

22
00:01:23,470 --> 00:01:30,490
So what we will do, instead of passing values, instead of passing values, we will pass the bucket.

23
00:01:31,680 --> 00:01:33,310
We will pass the boxes.

24
00:01:33,910 --> 00:01:39,130
So instead of passing that way, Lou, I will pass boxes and how we can do so.

25
00:01:39,460 --> 00:01:42,010
So we have something called a reference variable.

26
00:01:42,830 --> 00:01:44,920
A reference variable.

27
00:01:46,680 --> 00:01:48,930
OK, so we have something called the defense variable.

28
00:01:49,350 --> 00:01:52,350
So what I will do, I will create nicknames.

29
00:01:53,160 --> 00:01:56,580
So let's see with the help of code word changes we have to do.

30
00:01:58,910 --> 00:02:00,580
So this was my call by value.

31
00:02:01,060 --> 00:02:05,540
I am creating a new file, let's call it called Bio-Reference.

32
00:02:18,210 --> 00:02:19,440
Copy the entire code.

33
00:02:22,920 --> 00:02:24,540
Now, what is the thing that we have to do?

34
00:02:24,900 --> 00:02:29,100
We have to pass the values Bio-Reference gnawed by value.

35
00:02:29,550 --> 00:02:32,610
So for that, we have to create a reference variable.

36
00:02:33,040 --> 00:02:36,600
And for making that, eventually, will we just have to do this?

37
00:02:38,880 --> 00:02:42,480
And this and that is all.

38
00:02:42,600 --> 00:02:45,240
So this is called call by reference.

39
00:02:45,360 --> 00:02:47,050
We are passing the entire book.

40
00:02:47,430 --> 00:02:48,780
We are not passing the values.

41
00:02:49,400 --> 00:02:49,660
OK.

42
00:02:53,370 --> 00:02:59,770
Now, you can see yourself before stepping in Maine, seven and five after sleeping in Maine, five

43
00:02:59,770 --> 00:03:00,250
and seven.

44
00:03:00,520 --> 00:03:02,230
So the values are getting slabbed.

45
00:03:02,490 --> 00:03:05,290
My step function is working perfect.

46
00:03:08,120 --> 00:03:08,350
OK.

47
00:03:08,930 --> 00:03:10,520
So you can remove all this stuff.

48
00:03:18,110 --> 00:03:22,880
So before slapping, we lose our seven and five, and after serving, they may lose us five and seven.

49
00:03:23,840 --> 00:03:27,680
So my step function, my step function is working, correct?

50
00:03:29,320 --> 00:03:33,090
So the minor change we have to do this is call call by defense.

51
00:03:33,900 --> 00:03:39,100
So if you will change the name, for example, let's call it X, let's call it Ray.

52
00:03:39,270 --> 00:03:41,980
It doesn't have any effect outward will be correct.

53
00:03:43,740 --> 00:03:46,560
OK, so we have to change name here also so and X.

54
00:03:50,360 --> 00:03:51,130
Exit was.

55
00:03:53,830 --> 00:03:58,150
Why and why equals temp.

56
00:04:01,870 --> 00:04:05,410
So their values are getting swept seven in five, five and seven.

57
00:04:06,250 --> 00:04:08,680
Now let's see how cold biodefense is working.

58
00:04:12,400 --> 00:04:14,560
So I'm calling this function NDB.

59
00:04:16,870 --> 00:04:17,610
So this is my.

60
00:04:18,490 --> 00:04:25,800
And this is my B values are seven and five, and I am creating at friends variable.

61
00:04:26,260 --> 00:04:27,160
So what will happen?

62
00:04:27,490 --> 00:04:33,680
This bucket will come here and the name of this bucket in this function is X.

63
00:04:34,540 --> 00:04:42,160
Similarly, this bucket will come here and the name of this bucket in my step function is Y.

64
00:04:43,440 --> 00:04:47,770
We lose our seven and five because we have bossed the entire bookit.

65
00:04:49,590 --> 00:04:51,030
We are passing the end there.

66
00:04:51,180 --> 00:04:51,660
Look, it's.

67
00:04:53,520 --> 00:04:56,320
And now we are slipping with the help of X and Y.

68
00:04:56,430 --> 00:05:01,350
So with that X and Y, X and Y, yeah, nickname X and Y are nicknames.

69
00:05:01,970 --> 00:05:03,150
X is nickname Offie.

70
00:05:03,270 --> 00:05:04,800
Y is nickname of.

71
00:05:06,750 --> 00:05:12,010
B, so any changes in X anyway will result in the changes of Will so.

72
00:05:12,630 --> 00:05:14,490
So here the values are getting stabbed.

73
00:05:14,900 --> 00:05:20,760
Similarly, the Israelis will also get slapped because this bucket is the same as this bucket.

74
00:05:23,140 --> 00:05:23,440
OK.

75
00:05:24,650 --> 00:05:30,300
So now you know, the difference between call by value and Kalwaria fence, so-called weigh value,

76
00:05:30,330 --> 00:05:36,200
what it does, it will just give the value and what coalbed Air France really does.

77
00:05:36,680 --> 00:05:38,750
It will pass on the entire bucket.

78
00:05:41,430 --> 00:05:41,720
OK.

79
00:05:43,330 --> 00:05:43,870
Thank you.
