1
00:00:02,170 --> 00:00:04,000
Hey, guys, what's up?

2
00:00:04,780 --> 00:00:08,680
So in this session, we will try to understand the difference between.

3
00:00:10,260 --> 00:00:10,920
Forced.

4
00:00:12,600 --> 00:00:15,900
Three incrementing diclemente.

5
00:00:21,880 --> 00:00:25,930
OK, so suppose I am having a equals one.

6
00:00:27,040 --> 00:00:32,740
So if I write a equals A plus one, the value of A will be incremented by one.

7
00:00:33,070 --> 00:00:37,200
We have seen this in flowchart and sort of to the valley of AVL.

8
00:00:37,200 --> 00:00:38,820
We incremented to one.

9
00:00:39,680 --> 00:00:39,930
OK.

10
00:00:40,990 --> 00:00:45,700
Now, instead of writing equals eight plus one, I can also write the A plus.

11
00:00:45,700 --> 00:00:48,170
Plus they both same.

12
00:00:48,370 --> 00:00:48,660
OK.

13
00:00:49,480 --> 00:00:51,130
They both tie same.

14
00:00:53,060 --> 00:00:53,540
So.

15
00:00:54,540 --> 00:00:55,080
Let's see.

16
00:01:06,480 --> 00:01:11,100
So let's name it forced entry post pre.

17
00:01:32,740 --> 00:01:37,030
So suppose I am having and a close one.

18
00:01:38,230 --> 00:01:43,030
So a variable and and the value of that variable is initialized to one.

19
00:01:44,470 --> 00:01:47,290
Now I'm inheriting including the value OWFI by one.

20
00:01:47,780 --> 00:01:48,010
OK.

21
00:01:49,060 --> 00:01:51,700
And now I am printing the value OWFI.

22
00:01:55,360 --> 00:01:58,240
So what should be my output, output should be to.

23
00:02:01,080 --> 00:02:02,340
So, too, is getting printed.

24
00:02:02,610 --> 00:02:03,100
No doubt.

25
00:02:03,410 --> 00:02:05,520
OK, so this is called.

26
00:02:08,890 --> 00:02:09,790
Post agreement.

27
00:02:12,680 --> 00:02:14,660
It is just incrementing the value of eBay.

28
00:02:15,080 --> 00:02:18,010
Well, knowledge commanded out.

29
00:02:30,660 --> 00:02:32,970
Now I am keeping everything same.

30
00:02:35,900 --> 00:02:36,620
Breeding agreement.

31
00:02:37,070 --> 00:02:42,800
So instead of writing E-Plus Plus plus, what I'm gonna do is I will write plus Plessey.

32
00:02:45,180 --> 00:02:49,430
OK, so this is the only change here, it was Iblis place.

33
00:02:49,490 --> 00:02:51,080
Now it is plus pressie.

34
00:02:52,120 --> 00:02:53,250
So what should be my output?

35
00:02:55,890 --> 00:02:57,360
So the output is again.

36
00:02:58,340 --> 00:03:00,980
OK, so the output is again to.

37
00:03:06,050 --> 00:03:11,750
So when I was writing E-Plus plus, then also the value offie was to.

38
00:03:13,050 --> 00:03:18,540
And when I am writing plus Plessey, then also the value OWFI becomes too.

39
00:03:19,290 --> 00:03:23,400
I'm calling it Post Incremented and I'm calling it Brene Agreement.

40
00:03:25,780 --> 00:03:29,320
And this in so I there are two different names.

41
00:03:30,400 --> 00:03:31,840
So there must be some defense.

42
00:03:32,930 --> 00:03:36,190
OK, so there must be some difference between E-Plus Bless and Bless Plessey.

43
00:03:37,130 --> 00:03:40,760
And in this video, we will try to understand what is the difference.

44
00:03:42,260 --> 00:03:43,120
OK, so let's see.

45
00:03:45,470 --> 00:03:47,260
So also commented out.

46
00:03:54,240 --> 00:03:55,920
Now, let's see what is their defense.

47
00:03:57,060 --> 00:04:00,390
So I am taking to variable A and X.

48
00:04:01,590 --> 00:04:03,570
So suppose the value of A's when.

49
00:04:06,460 --> 00:04:08,250
OK, so the value of phase one.

50
00:04:09,150 --> 00:04:17,160
Now I am writing X equals E plus plus and now we will print the value of X entity.

51
00:04:17,640 --> 00:04:25,790
So C O takes and line C out a line.

52
00:04:27,720 --> 00:04:27,980
OK.

53
00:04:28,890 --> 00:04:30,750
So what will be my output.

54
00:04:32,280 --> 00:04:32,770
Let's see.

55
00:04:38,020 --> 00:04:41,740
So the value of X is one and the value of A's to.

56
00:04:44,690 --> 00:04:46,110
Lancy Visored, so.

57
00:04:52,090 --> 00:04:53,860
So initially, the Valium phase one.

58
00:04:55,290 --> 00:04:58,230
And I am writing X equals a plus plus.

59
00:04:59,600 --> 00:05:00,830
So what is happening here?

60
00:05:04,690 --> 00:05:05,830
So what is happening here?

61
00:05:06,730 --> 00:05:09,220
This thing is called Borst Increment.

62
00:05:10,240 --> 00:05:12,840
So in Boston and what will happen first?

63
00:05:13,240 --> 00:05:15,340
I will assign the value of a.

64
00:05:17,350 --> 00:05:20,200
And then I will incremented the Valy Elfie.

65
00:05:21,450 --> 00:05:21,820
OK.

66
00:05:22,110 --> 00:05:25,980
So when you're writing X, it was a plus plus.

67
00:05:26,820 --> 00:05:34,830
First, the Vendee of A is assigned to X and then the value of A is incremented.

68
00:05:35,610 --> 00:05:37,710
That's why it is called Borst.

69
00:05:40,860 --> 00:05:49,500
Boasting limited means, first I sign, then increment.

70
00:05:51,980 --> 00:05:55,900
And that is the reason the value of X equals Iblis place.

71
00:05:56,450 --> 00:05:57,920
So first the value of AIZMAN.

72
00:05:59,600 --> 00:06:05,660
Since that is assigned to X, that's why the value of X will become one and then the value of it will

73
00:06:05,660 --> 00:06:06,500
be incremented.

74
00:06:06,620 --> 00:06:08,290
So the value of it will become, too.

75
00:06:09,220 --> 00:06:09,520
Okay.

76
00:06:09,830 --> 00:06:12,140
So that's why I hear my output was one.

77
00:06:12,650 --> 00:06:14,600
And in this line, my output was to.

78
00:06:16,180 --> 00:06:19,690
Now, let's see what will happen in case of increment.

79
00:06:20,980 --> 00:06:22,930
So condole see?

80
00:06:26,140 --> 00:06:27,330
Condole Gandolfi.

81
00:06:29,170 --> 00:06:32,200
Instead of riding a plus plus murder, I really do.

82
00:06:32,260 --> 00:06:32,850
I will ride.

83
00:06:33,340 --> 00:06:34,000
Bless Plessey.

84
00:06:35,480 --> 00:06:36,730
And let's Commander Daoud.

85
00:06:42,360 --> 00:06:43,760
So let's see.

86
00:06:46,380 --> 00:06:52,080
Here you can see the value of X is too, and the value of Faisal also Sorto, in previous case, the

87
00:06:52,080 --> 00:06:53,520
value of X was one.

88
00:06:55,730 --> 00:06:56,850
Now, what is happening here?

89
00:07:01,000 --> 00:07:01,990
So, ex.

90
00:07:03,860 --> 00:07:07,070
It was Bless Bless a.

91
00:07:08,940 --> 00:07:14,810
It is called pre increment plus Plessey is called Reimplement.

92
00:07:14,990 --> 00:07:16,030
It will do the opposite.

93
00:07:16,490 --> 00:07:18,170
First it will increment.

94
00:07:20,620 --> 00:07:22,690
Then assign.

95
00:07:27,410 --> 00:07:27,660
OK.

96
00:07:28,010 --> 00:07:31,100
So this statement will be evaluated first.

97
00:07:31,250 --> 00:07:35,930
First, the value of a will be incremented and then the value fee will be assigned.

98
00:07:36,770 --> 00:07:42,090
So fast it will become two and then X equals eight, which is two.

99
00:07:43,060 --> 00:07:44,910
That is the reason hair.

100
00:07:44,960 --> 00:07:47,120
My output is two and two.

101
00:07:49,350 --> 00:07:53,280
So I hope the difference between post and being made is clear.

102
00:07:54,000 --> 00:08:00,030
OK, so being agreement means first you're doing Kliment and then you do the assignment.

103
00:08:00,840 --> 00:08:06,480
And in case of post increment, first you assign and then you increment.

104
00:08:08,250 --> 00:08:08,440
OK.

105
00:08:08,490 --> 00:08:13,020
So first you will assign and then you will do the increment.

106
00:08:13,710 --> 00:08:19,410
But in this case, first you will do the increment and then you will assign.

107
00:08:21,950 --> 00:08:25,130
OK, so the difference between post and bring him on this clear.

108
00:08:26,570 --> 00:08:30,920
Now the same thing happens with Post and Beauty Clement Desmond.

109
00:08:37,890 --> 00:08:39,180
So I'm copying this part.

110
00:08:41,410 --> 00:08:42,260
Condole, see?

111
00:08:45,510 --> 00:08:45,960
Candlewick.

112
00:08:52,170 --> 00:08:56,030
So head of a little phase one now in knowing gives off.

113
00:08:57,060 --> 00:08:58,470
Now I am diclemente angered.

114
00:08:58,710 --> 00:09:03,210
OK, so a minus minus eight minus minus means decrease the value of a bye.

115
00:09:03,420 --> 00:09:03,760
When.

116
00:09:08,950 --> 00:09:17,500
Equals eight plus one and a plus plus they both seem similarly equals A minus one and E minus minus.

117
00:09:17,560 --> 00:09:20,140
They both also seem OK.

118
00:09:22,800 --> 00:09:27,240
So it is pre the kliment sorry, it is post degremont.

119
00:09:29,880 --> 00:09:30,390
Post.

120
00:09:33,780 --> 00:09:34,450
Degremont.

121
00:09:35,750 --> 00:09:41,800
So the value of Aizman now, the value of a is decrescendo by one for the new Vello will become zero.

122
00:09:42,200 --> 00:09:43,730
And then you are printing zero.

123
00:09:44,430 --> 00:09:45,500
In this case also.

124
00:09:46,910 --> 00:09:49,210
So first, let Lidstrom this part.

125
00:09:52,030 --> 00:09:54,690
So now Edwards coming out with zero as expected.

126
00:09:56,430 --> 00:09:57,980
Now let's comment out this part.

127
00:10:02,390 --> 00:10:03,590
And we will run this part.

128
00:10:05,820 --> 00:10:11,420
So the only change Naadam I'm gonna do is minus minus a hair.

129
00:10:11,620 --> 00:10:12,930
It was a minus minus.

130
00:10:12,960 --> 00:10:14,480
Now it is minus minus.

131
00:10:15,450 --> 00:10:17,130
And it is really Kliment.

132
00:10:19,720 --> 00:10:20,730
Okay, so what will happen?

133
00:10:21,090 --> 00:10:24,240
The value of Aizman, the value of it will relate remaindered.

134
00:10:24,330 --> 00:10:27,540
Now the new relevé will become zero as it was getting printed.

135
00:10:30,120 --> 00:10:30,310
OK.

136
00:10:30,510 --> 00:10:30,890
Zero.

137
00:10:36,710 --> 00:10:40,520
So when I was writing a minus minus.

138
00:10:40,610 --> 00:10:42,170
Then also my output was zero.

139
00:10:42,470 --> 00:10:46,880
And my when when I am writing minus minus say they don't amount to zero.

140
00:10:47,900 --> 00:10:50,180
But I'm calling it does bolster decrement.

141
00:10:50,540 --> 00:10:52,520
And I calling it days predicament.

142
00:10:54,240 --> 00:11:01,410
So there should be some defense and the defenses, same as we saw in a blessed, blessed and blessed

143
00:11:01,410 --> 00:11:01,780
blessing.

144
00:11:02,920 --> 00:11:03,720
OK, so let's see.

145
00:11:05,510 --> 00:11:10,110
I will copy this part and don't see.

146
00:11:19,810 --> 00:11:20,900
Now equals one.

147
00:11:21,210 --> 00:11:21,920
What I will do.

148
00:11:22,120 --> 00:11:24,550
I will write a minus minus.

149
00:11:25,610 --> 00:11:25,870
OK.

150
00:11:27,090 --> 00:11:27,890
So let's send it.

151
00:11:30,690 --> 00:11:34,820
So the value of X is one and the value of phase zero as expected.

152
00:11:38,370 --> 00:11:47,570
So initially, the value of is when and then you are writing X equals a minus minus, which is both

153
00:11:47,570 --> 00:11:51,750
to the agreement post means first you will assign the value.

154
00:11:52,200 --> 00:11:54,600
Now the value of X equals one.

155
00:11:54,690 --> 00:11:57,540
And then you we decrease the value.

156
00:11:57,600 --> 00:11:59,250
So the value of phase zero.

157
00:11:59,700 --> 00:12:03,150
You can see here the value of X is one and the value of A's zero.

158
00:12:04,260 --> 00:12:05,910
So this was boaster decrement.

159
00:12:05,970 --> 00:12:06,300
OK.

160
00:12:06,750 --> 00:12:09,680
So this was post the agreement.

161
00:12:11,950 --> 00:12:13,720
Now, let's see predicament.

162
00:12:25,480 --> 00:12:28,570
So last year of our doing plus policy, minus minus.

163
00:12:29,260 --> 00:12:32,050
So hatred was a minus minus.

164
00:12:32,550 --> 00:12:34,440
Here it is, minus minus he.

165
00:12:38,740 --> 00:12:41,850
So the value of X and a bow tie.

166
00:12:42,260 --> 00:12:42,670
Zero.

167
00:12:43,240 --> 00:12:43,550
Why?

168
00:12:44,230 --> 00:12:45,850
It is bleeding, Kliment.

169
00:12:46,830 --> 00:12:48,690
So initially, the value of phase one.

170
00:12:49,940 --> 00:12:53,150
Then X, it was minus minus E.

171
00:12:54,950 --> 00:13:05,270
So since it is pretty agreement, first I will decrease the value of A becomes zero and then I will

172
00:13:05,390 --> 00:13:05,960
assign.

173
00:13:08,190 --> 00:13:10,030
Hence exs also zero.

174
00:13:10,110 --> 00:13:11,330
And that's why water.

175
00:13:11,680 --> 00:13:12,060
Zero.

176
00:13:13,340 --> 00:13:16,410
OK, so this was through the Cleveland.

177
00:13:21,130 --> 00:13:22,660
So I hope the picture is clear.

178
00:13:24,490 --> 00:13:30,150
So I hope now you're not the difference between a plus press and less blasé.

179
00:13:31,270 --> 00:13:33,480
A minus, minus and minus minus.

180
00:13:35,110 --> 00:13:37,810
They both had increasing the value by one.

181
00:13:38,500 --> 00:13:40,810
And they both had decreasing the value.

182
00:13:41,530 --> 00:13:44,060
They both are decreasing the value by one.

183
00:13:45,130 --> 00:13:46,270
This is posed.

184
00:13:48,040 --> 00:13:48,850
This is pre.

185
00:13:49,870 --> 00:13:51,460
Similarly, this is post.

186
00:13:52,840 --> 00:13:57,140
This is the post means first.

187
00:13:57,460 --> 00:14:01,870
You assign and then you increment or decrease.

188
00:14:02,410 --> 00:14:03,090
Three means.

189
00:14:04,030 --> 00:14:06,520
First, you increase or decrease.

190
00:14:06,790 --> 00:14:07,720
And then you assign.

191
00:14:09,160 --> 00:14:09,440
OK.

192
00:14:09,790 --> 00:14:12,790
So this is the basic difference between post and pre.

193
00:14:13,810 --> 00:14:14,270
Thank you.
