Yes bro u are right.. If i would have foun this videos during my college days or atleast after my graduation i would hav been a good engineer and successful in my life.
Wanted to brush up my C concepts during this lockdown. I looked into many videos but urs is fantastic, got to know many new things. I really appreciate your contribution to open source 😍😍
The behavior of x = ++a is not described correctly. It is not guaranteed that a is updated _immediately_ upon evaluation. The actual behavior is more like this: tmp = a + 1 x = tmp a = a + 1 except that the order in which x and a are updated isn't fixed (the operations are _unsequenced_ relative to each other; they could even be updated simultaneously). Similarly, the behavior of x = a++ is more like tmp = a x = tmp a = a + 1 with the same sequencing caveat as above. The side effect is not guaranteed to be applied until the next sequence point; this is part of the reason why the behavior of expressions like "a++ + ++a" is _undefined_ - there is no sequence point between a++ and ++a, so the result isn't predictable. Another minor nit, the C language definition only refers to the prefix forms of ++ and -- as _unary_ operators (they're grouped with the indirection *, address-of &, sizeof, and sign operators + and -), while the postfix forms are grouped with the other _postfix_ operators (function call (), subscript [], member selection . and ->). Unary operators have lower precedence than postfix operators, so an expression like "++a[i]" is parsed as "++(a[i])" and "*x++" is parsed as "*(x++)".
You make programming easier and more interesting than others. I almost quitted! Thank God I found you when the ovation was at the loudest point. What a fun way to learn programming. My only problem is that your videos make me not to sleep again. I am obsessed with them.
Thank you soooooooo much. You are helping so many students like me who are paying lakhs of fees and experiencing worst lectures in college🎓. You are the real teacher👩🏫.
This is by far the easiest method to solve increment decrement operations. tbh i am having troubles on this particular topic because it is confusing with the change of values. But when you explain the box method, i understand the concept much better now! Thank u mr Indian guy. Always a saviour to programmers
Thank you so much sir, I've always faced issue in pre/post increment and decrement flow but you really explained really well. (PS: Studying one night before my end sems and as the videos are completing my confidence is rising as well)
Comments for myself: Lvalue (left value) means that an object should have an identifiable location in the memory, hence it must be a variable. rvalue (right value) has no identifible location in memory, e.g. expressions like (3+5). Where did the names came from? From equations. e.g. x = 3+5. (notice left and right). In the case of defining variables with values to be incremented, pre-increment adds value first before assignment, while on the other hand, post-increment assign the current value first to the variable (we can use this with equations), before incrementing the value.
Thank you sir for this amazing explanation. Sir I have a question and no answer to refer so l am confused about wha t is the right sir please sir my problem my exam is next day. If x=2 and y=3 then calculate z= (x++) +(y++) And z=(x--) + (y--)
00:01 Increment and decrement operators are used to change the value of a variable by one in C. 01:23 Increment and decrement operators are unary operators applied on a single operand. 02:36 Increment and decrement operators in C 04:01 L value refers to a memory location and must be a variable. 05:19 Variables are assigned a memory location and can hold data. 06:37 Increment and decrement operators can only be applied to variables as they require L value. 07:53 Understanding the difference between pre-increment and post-increment operators in C 09:25 Pre-increment assigns the incremented value to the variable, while post-increment assigns the value before incrementing to the variable.
This series is like Netflix to me..
Knowledge series👨🎓👨🎓
Absolutely bro
So true ❤️
True
Exactly yrrr ...
BEAUTIFUL VOICE WITH AMAZING EXPLANATION
i wish i knew about your course during my college times. Really in-depth and detailed videos.. thnks!!
Yes bro u are right..
If i would have foun this videos during my college days or atleast after my graduation i would hav been a good engineer and successful in my life.
Really true!
@@anveshatagore542 zzzzz
I am lucky 😌😌😌😌🤣
I'm lucky
Wanted to brush up my C concepts during this lockdown. I looked into many videos but urs is fantastic, got to know many new things. I really appreciate your contribution to open source 😍😍
The behavior of x = ++a is not described correctly. It is not guaranteed that a is updated _immediately_ upon evaluation. The actual behavior is more like this:
tmp = a + 1
x = tmp
a = a + 1
except that the order in which x and a are updated isn't fixed (the operations are _unsequenced_ relative to each other; they could even be updated simultaneously). Similarly, the behavior of x = a++ is more like
tmp = a
x = tmp
a = a + 1
with the same sequencing caveat as above.
The side effect is not guaranteed to be applied until the next sequence point; this is part of the reason why the behavior of expressions like "a++ + ++a" is _undefined_ - there is no sequence point between a++ and ++a, so the result isn't predictable.
Another minor nit, the C language definition only refers to the prefix forms of ++ and -- as _unary_ operators (they're grouped with the indirection *, address-of &, sizeof, and sign operators + and -), while the postfix forms are grouped with the other _postfix_ operators (function call (), subscript [], member selection . and ->). Unary operators have lower precedence than postfix operators, so an expression like "++a[i]" is parsed as "++(a[i])" and "*x++" is parsed as "*(x++)".
What an explanation sir 💙. I am addicted to this course 👌👍
You make programming easier and more interesting than others. I almost quitted! Thank God I found you when the ovation was at the loudest point. What a fun way to learn programming. My only problem is that your videos make me not to sleep again. I am obsessed with them.
Clear and crystal explanation .Thanks to Neso Academy
Such clear explanation of every thing. Thank you so much sir.
I saw many lectures, but I found your playlist as the most accurate.
Thank you soooooooo much. You are helping so many students like me who are paying lakhs of fees and experiencing worst lectures in college🎓. You are the real teacher👩🏫.
This series literally turned into Netflix to me! Just can't stop watching this!
One the best series on the CZcams... Thank you !!
i have finally understood this concept after 5 years. tq very much. gr8 work and amazing content.
brother you really nail pre and post increment
thanks a lot
best explanationi have ever watched,thank you so much sir
You are a incredible teacher!
A very big thanks to you sir!!!
Sir your videos are really helpful for basic programmers
I Understand the difference b/w pre and post.....Thank you ji
Thank you soo much for the detailed videos !! 🙏🏻🙏🏻
You explained better than my lecturer! Thank you so much!
best explanationi have ever watched,thank you so much sir❤
I am currently preparing for my embedded system course for next semester, I think I am going to enjoy it🥰Thank you so much!
Amazing Explaination sir ...you are great teacher
I like your teaching ....thank you for giving your valuable knowledge
Sir thanku so much for a great work you are doing for us.
best explanation for lvalue nd rvalue
Very well explained! Thank you
This is by far the easiest method to solve increment decrement operations. tbh i am having troubles on this particular topic because it is confusing with the change of values. But when you explain the box method, i understand the concept much better now! Thank u mr Indian guy. Always a saviour to programmers
I love this❤. understanding it clearly
Now, it makes the concept crystal clear.
Best tutorial on c in earth
before i watch this video i am mad about this concept and after watching this i am perfect in this concept. thanku soooo much
Loving it....
Nice content please keep it up...nd thank you so much for u r videos it always helps a lot 💕
EXCELLENT EXPLAINED
LOVE U BROTHER
Well I am in second year now!
Kaash ki ye cahannel first year me mil jata!
Well abhi mila, is ok😊
very nice explaination!!!!!!!!!!!!! i am able to clear my doubt. thanku
Thank you so much sir, I've always faced issue in pre/post increment and decrement flow but you really explained really well.
(PS: Studying one night before my end sems and as the videos are completing my confidence is rising as well)
Finally I understood pre increment and post increment.. 😓 thank you for the video
BTS ❤
World best teacher I just love neso academy
it is very helpful for cse student
Super explanation.. Wonderful...👍👌👌
Thanking so much sir for making me understand pre and post concept.
How old are u
@@jk7pubg12 12 Years old
@@anilakokapeta9203 I'm 10
@@epp6466 I know C and C++ programming languages. What about you?
Thank you for clearing my confusion
the subtitles were athing to me .❤❤❤❤
Absolutely insane 🔥
Thank u so much Neso Academy for this interesting and informative playlists of Operators in C
Really great effort
Even I also don't understand what our faculty teach in clg
But this channel provide the best ❤️
Wow thankuuuu so much sir thanks alot
Thanks a lot❤ sir for your mind blowing explanation
Very good lecture sir❤
Thank u so much
wow nice teacher😍
Best explanation
With better understanding
So beautiful tips
Amazing hatts off explaination
nice video in a understandable words
thanks for teaching
Thank you sir mujhe class me samjh nhi aaya tha your video is great sir 👍
love your videos
The deep explain best teacher great 👍🏻 bro
hats off to you sir
thank you ❤️
really perfect course REALLYYYY!!!!
please make a course on compiler design
Post increment
x = a;
a = a+1;
Pre increment
a = a + 1;
x = a;
Excellent explaination bro. Hats off.
Thank you so much for this series
Nice explanation sir
Thanks Sir ☺️
Good video I have affresiate
6:00 lvalue rvalue
Thanks sir these videos are really helpful
Thank you very much... i could solve my problem ...
Your new follower 👍👍👍
Good job ! 👌
Thank u sir for such videos.
What will be ans of b=a++ +a++;
Where a=5 what will be values of a and b at the end
Great explanation
thanks bro ,finally understood
woww best teacher ♥️
I'm addicted to your videos 🤤😍
Thank You So Much!
I love neso academy 🥰
Comments for myself: Lvalue (left value) means that an object should have an identifiable location in the memory, hence it must be a variable. rvalue (right value) has no identifible location in memory, e.g. expressions like (3+5). Where did the names came from? From equations. e.g. x = 3+5. (notice left and right). In the case of defining variables with values to be incremented, pre-increment adds value first before assignment, while on the other hand, post-increment assign the current value first to the variable (we can use this with equations), before incrementing the value.
Hats off to u sir👏
Well explained! ... Thanks sir
U r the best!!
Thanks sir you clear my doubt.thanks a lot.
Can you please make a video on debugging?
Thank you sir for this amazing explanation. Sir I have a question and no answer to refer so l am confused about wha t is the right sir please sir my problem my exam is next day. If x=2 and y=3 then calculate z= (x++) +(y++)
And z=(x--) + (y--)
00:01 Increment and decrement operators are used to change the value of a variable by one in C.
01:23 Increment and decrement operators are unary operators applied on a single operand.
02:36 Increment and decrement operators in C
04:01 L value refers to a memory location and must be a variable.
05:19 Variables are assigned a memory location and can hold data.
06:37 Increment and decrement operators can only be applied to variables as they require L value.
07:53 Understanding the difference between pre-increment and post-increment operators in C
09:25 Pre-increment assigns the incremented value to the variable, while post-increment assigns the value before incrementing to the variable.
Tnkyu so much .....u r the best
Some worthy words
thank u so much bro
Yess , it seems a short clip which ends in 8 minutes 😱😱 ...
Thanks Sir
Informative....thank u sr
awesome lecture
Great WORk sir
thanks
Nice explanation