Increment and Decrement Operators in C (Part 1)

แชร์
ฝัง
  • เผยแพร่เมื่อ 8 ต.ค. 2024

ความคิดเห็น • 179

  • @viveknirmal4811
    @viveknirmal4811 5 ปีที่แล้ว +43

    BEAUTIFUL VOICE WITH AMAZING EXPLANATION

  • @siddhantdash4955
    @siddhantdash4955 5 ปีที่แล้ว +128

    i wish i knew about your course during my college times. Really in-depth and detailed videos.. thnks!!

    • @anveshatagore542
      @anveshatagore542 3 ปีที่แล้ว +6

      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.

    • @sandippramanik5733
      @sandippramanik5733 3 ปีที่แล้ว +2

      Really true!

    • @dhruvsadana7774
      @dhruvsadana7774 3 ปีที่แล้ว

      @@anveshatagore542 zzzzz

    • @samikshakharat4955
      @samikshakharat4955 3 ปีที่แล้ว +4

      I am lucky 😌😌😌😌🤣

    • @jasminjasu3140
      @jasminjasu3140 ปีที่แล้ว +2

      I'm lucky

  • @m.irshad7082
    @m.irshad7082 3 ปีที่แล้ว +32

    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 😍😍

  • @hosmjrshinh2675
    @hosmjrshinh2675 4 ปีที่แล้ว +277

    This series is like Netflix to me..

  • @letscode5367
    @letscode5367 6 ปีที่แล้ว +23

    What an explanation sir 💙. I am addicted to this course 👌👍

  • @chandusai3064
    @chandusai3064 3 ปีที่แล้ว +6

    Clear and crystal explanation .Thanks to Neso Academy

  • @kehindefabiyi2232
    @kehindefabiyi2232 ปีที่แล้ว +4

    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.

  • @ShreyaskarART
    @ShreyaskarART 3 ปีที่แล้ว +6

    Such clear explanation of every thing. Thank you so much sir.
    I saw many lectures, but I found your playlist as the most accurate.

  • @jasminjasu3140
    @jasminjasu3140 ปีที่แล้ว +1

    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👩‍🏫‍.

  • @johnbode5528
    @johnbode5528 3 ปีที่แล้ว +12

    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++)".

  • @Kavithomas_Engineer
    @Kavithomas_Engineer 6 ปีที่แล้ว +5

    I Understand the difference b/w pre and post.....Thank you ji

  • @baronkalita2897
    @baronkalita2897 6 ปีที่แล้ว +6

    best explanationi have ever watched,thank you so much sir

  • @lonewolf16916
    @lonewolf16916 4 ปีที่แล้ว +4

    Thank you soo much for the detailed videos !! 🙏🏻🙏🏻

  • @yashashreemehare1488
    @yashashreemehare1488 ปีที่แล้ว +1

    One the best series on the TH-cam... Thank you !!

  • @dipeshadhikari7999
    @dipeshadhikari7999 3 ปีที่แล้ว +2

    Sir your videos are really helpful for basic programmers

  • @Ayush37262
    @Ayush37262 2 ปีที่แล้ว +2

    You are a incredible teacher!
    A very big thanks to you sir!!!

  • @techzsm1840
    @techzsm1840 2 ปีที่แล้ว +2

    This series literally turned into Netflix to me! Just can't stop watching this!

  • @vmtejaswini4351
    @vmtejaswini4351 2 ปีที่แล้ว +4

    i have finally understood this concept after 5 years. tq very much. gr8 work and amazing content.

  • @rahulvibes162
    @rahulvibes162 3 ปีที่แล้ว +8

    brother you really nail pre and post increment
    thanks a lot

  • @missionimpossible5657
    @missionimpossible5657 10 หลายเดือนก่อน

    I am currently preparing for my embedded system course for next semester, I think I am going to enjoy it🥰Thank you so much!

  • @mdghufranalam7369
    @mdghufranalam7369 3 ปีที่แล้ว +2

    best explanationi have ever watched,thank you so much sir❤

  • @rangrezuzma9853
    @rangrezuzma9853 4 ปีที่แล้ว +1

    Amazing Explaination sir ...you are great teacher
    I like your teaching ....thank you for giving your valuable knowledge

  • @vikasbansal4180
    @vikasbansal4180 2 ปีที่แล้ว

    Now, it makes the concept crystal clear.

  • @bingyang7571
    @bingyang7571 2 ปีที่แล้ว +1

    You explained better than my lecturer! Thank you so much!

  • @nidhiyadav4444
    @nidhiyadav4444 4 ปีที่แล้ว +2

    Sir thanku so much for a great work you are doing for us.

  • @FeeqAzmir
    @FeeqAzmir 2 ปีที่แล้ว

    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

  • @sachindeora2143
    @sachindeora2143 3 ปีที่แล้ว +1

    very nice explaination!!!!!!!!!!!!! i am able to clear my doubt. thanku

  • @sarahq8128
    @sarahq8128 2 ปีที่แล้ว +1

    Very well explained! Thank you

  • @ileshdhall
    @ileshdhall 9 หลายเดือนก่อน

    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)

  • @nickoemmanuelvillacruz3090
    @nickoemmanuelvillacruz3090 3 ปีที่แล้ว +1

    Thank you for clearing my confusion

  • @I_am_smooth_as_butter
    @I_am_smooth_as_butter 5 ปีที่แล้ว +3

    Nice content please keep it up...nd thank you so much for u r videos it always helps a lot 💕

  • @heyrishabh13
    @heyrishabh13 5 ปีที่แล้ว +3

    Thanking so much sir for making me understand pre and post concept.

    • @jk7pubg12
      @jk7pubg12 4 ปีที่แล้ว

      How old are u

    • @anilakokapeta9203
      @anilakokapeta9203 4 ปีที่แล้ว

      @@jk7pubg12 12 Years old

    • @epp6466
      @epp6466 3 ปีที่แล้ว

      @@anilakokapeta9203 I'm 10

    • @anilakokapeta9203
      @anilakokapeta9203 3 ปีที่แล้ว

      @@epp6466 I know C and C++ programming languages. What about you?

  • @jagannathsahoo6520
    @jagannathsahoo6520 2 ปีที่แล้ว +1

    Thanks a lot❤ sir for your mind blowing explanation

  • @navneet_kishan
    @navneet_kishan 6 ปีที่แล้ว +2

    best explanation for lvalue nd rvalue

  • @snehanaik406
    @snehanaik406 5 หลายเดือนก่อน +1

    Loving it....

  • @MilliamKirahmuyawa-kk2lj
    @MilliamKirahmuyawa-kk2lj ปีที่แล้ว

    I love this❤. understanding it clearly

  • @Kaivalya-c8h
    @Kaivalya-c8h ปีที่แล้ว

    before i watch this video i am mad about this concept and after watching this i am perfect in this concept. thanku soooo much

  • @hariswaruparya373
    @hariswaruparya373 3 ปีที่แล้ว

    Best explanation
    With better understanding

  • @TSWSCI
    @TSWSCI ปีที่แล้ว

    Thank you so much for this series

  • @dineshsingha7519
    @dineshsingha7519 3 ปีที่แล้ว

    World best teacher I just love neso academy

  • @Akashprustyvlog
    @Akashprustyvlog 2 ปีที่แล้ว

    it is very helpful for cse student

  • @xonexgamerz7459
    @xonexgamerz7459 2 ปีที่แล้ว

    Thank you sir mujhe class me samjh nhi aaya tha your video is great sir 👍

  • @InsideBelieve7123
    @InsideBelieve7123 3 ปีที่แล้ว

    Thanks sir these videos are really helpful

  • @kirannegi3984
    @kirannegi3984 5 ปีที่แล้ว +1

    So beautiful tips

  • @rafiyatabasum378
    @rafiyatabasum378 3 ปีที่แล้ว

    Excellent explaination bro. Hats off.

  • @binodokheda6727
    @binodokheda6727 5 ปีที่แล้ว +1

    nice video in a understandable words

  • @VivekMallaReddy
    @VivekMallaReddy 6 หลายเดือนก่อน

    Super explanation.. Wonderful...👍👌👌

  • @kamyagupta4030
    @kamyagupta4030 2 ปีที่แล้ว +1

    thank you ❤️

  • @shehanhirudika4512
    @shehanhirudika4512 3 ปีที่แล้ว

    Thank you very much... i could solve my problem ...

  • @guriyathakur9734
    @guriyathakur9734 2 ปีที่แล้ว +1

    Thank u so much

  • @krishsethiya1715
    @krishsethiya1715 2 ปีที่แล้ว

    thanks for teaching

  • @farhanislam3707
    @farhanislam3707 5 ปีที่แล้ว +2

    EXCELLENT EXPLAINED
    LOVE U BROTHER

  • @dennyage4791
    @dennyage4791 3 ปีที่แล้ว

    Best tutorial on c in earth

  • @kornmc
    @kornmc 2 ปีที่แล้ว

    really perfect course REALLYYYY!!!!

  • @jamaludeen2947
    @jamaludeen2947 3 ปีที่แล้ว

    The deep explain best teacher great 👍🏻 bro

  • @SatyaGarlapati-id9kg
    @SatyaGarlapati-id9kg 4 หลายเดือนก่อน

    Very good lecture sir❤

  • @bts_world8259
    @bts_world8259 2 ปีที่แล้ว +2

    Finally I understood pre increment and post increment.. 😓 thank you for the video

  • @gates4501
    @gates4501 4 ปีที่แล้ว +1

    please make a course on compiler design

  • @parthdandawate7245
    @parthdandawate7245 3 ปีที่แล้ว

    Amazing hatts off explaination

  • @randomness2216
    @randomness2216 2 ปีที่แล้ว +1

    Absolutely insane 🔥

  • @anamikamishra2152
    @anamikamishra2152 5 ปีที่แล้ว +2

    Wow thankuuuu so much sir thanks alot

  • @derickjohn8323
    @derickjohn8323 2 ปีที่แล้ว +1

    the subtitles were athing to me .❤❤❤❤

  • @rakshitasharma5311
    @rakshitasharma5311 3 ปีที่แล้ว

    Thank u sir for such videos.

  • @anandkumar-ni8cn
    @anandkumar-ni8cn 2 ปีที่แล้ว

    Great explanation

  • @anvighadge
    @anvighadge 3 ปีที่แล้ว +1

    Thank u so much Neso Academy for this interesting and informative playlists of Operators in C

    • @sandypoonia14
      @sandypoonia14 3 ปีที่แล้ว +1

      Really great effort
      Even I also don't understand what our faculty teach in clg
      But this channel provide the best ❤️

  • @rajram5241
    @rajram5241 2 ปีที่แล้ว

    Nice explanation sir

  • @mauryaashish1865
    @mauryaashish1865 3 ปีที่แล้ว +3

    Well I am in second year now!
    Kaash ki ye cahannel first year me mil jata!
    Well abhi mila, is ok😊

  • @aishamudathir7847
    @aishamudathir7847 2 ปีที่แล้ว

    love your videos

  • @TharushiFernando-fv8bq
    @TharushiFernando-fv8bq 2 หลายเดือนก่อน

    wow nice teacher😍

  • @taradean.
    @taradean. 2 ปีที่แล้ว

    hats off to you sir

  • @SaqibKhan-cy4sy
    @SaqibKhan-cy4sy 2 ปีที่แล้ว

    Good video I have affresiate

  • @alieubah9951
    @alieubah9951 4 ปีที่แล้ว

    thanks bro ,finally understood

  • @exploratoryhub8445
    @exploratoryhub8445 3 ปีที่แล้ว

    Well explained! ... Thanks sir

  • @bhaveshpatil1424
    @bhaveshpatil1424 2 ปีที่แล้ว

    Thanks Sir ☺️

  • @adnaneshtiak4817
    @adnaneshtiak4817 3 ปีที่แล้ว

    Thank You So Much!

  • @waseemqasim323
    @waseemqasim323 4 ปีที่แล้ว +1

    Good job ! 👌

  • @shadabalam8070
    @shadabalam8070 5 ปีที่แล้ว

    Thanks sir you clear my doubt.thanks a lot.

  • @kehindefabiyi2232
    @kehindefabiyi2232 ปีที่แล้ว

    Can you please make a video on debugging?

  • @compangit1524
    @compangit1524 ปีที่แล้ว

    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.

  • @sd-m3e
    @sd-m3e 2 ปีที่แล้ว

    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--)

  • @hammadmemon4739
    @hammadmemon4739 3 ปีที่แล้ว

    woww best teacher ♥️

  • @saykatamkeen7860
    @saykatamkeen7860 5 ปีที่แล้ว

    awesome lecture

  • @sumanmandal5393
    @sumanmandal5393 4 ปีที่แล้ว

    Thanks Sir

  • @simrankaursandhu4589
    @simrankaursandhu4589 2 ปีที่แล้ว

    Hats off to u sir👏

  • @amrnassar8417
    @amrnassar8417 4 ปีที่แล้ว

    thanks

  • @amarnathgoshika6730
    @amarnathgoshika6730 5 ปีที่แล้ว

    Nice explanation

  • @157_keshavlichade6
    @157_keshavlichade6 3 ปีที่แล้ว

    amazing

  • @kayasaxena2690
    @kayasaxena2690 ปีที่แล้ว

    I'm addicted to your videos 🤤😍

  • @true4189
    @true4189 4 ปีที่แล้ว

    Thank u

  • @hajimeville
    @hajimeville 28 วันที่ผ่านมา

    Anything couldn't be clearer than this video

  • @sandysanarb8365
    @sandysanarb8365 3 ปีที่แล้ว

    U r the best!!

  • @saurabhmishra2416
    @saurabhmishra2416 5 ปีที่แล้ว

    Great WORk sir

  • @ranjanlevii1857
    @ranjanlevii1857 ปีที่แล้ว +2

    Where can we get the notes from?

  • @krishnashedbalkar7202
    @krishnashedbalkar7202 5 ปีที่แล้ว

    What will be ans of b=a++ +a++;
    Where a=5 what will be values of a and b at the end

  • @kaushikg1833
    @kaushikg1833 4 ปีที่แล้ว

    Some worthy words

  • @sandysanarb8365
    @sandysanarb8365 3 ปีที่แล้ว

    I love neso academy 🥰

  • @technoboy7212
    @technoboy7212 3 ปีที่แล้ว

    Sir which is best book for c language all basics and programs in easy manner

  • @SalmanKhan-pu6sc
    @SalmanKhan-pu6sc ปีที่แล้ว

    Post increment
    x = a;
    a = a+1;
    Pre increment
    a = a + 1;
    x = a;

  • @maahin6633
    @maahin6633 5 ปีที่แล้ว

    thank u so much bro

  • @aditisharma8482
    @aditisharma8482 5 ปีที่แล้ว

    Tnkyu so much .....u r the best