Increment and Decrement Operators in C (Part 1)

Поділитися
Вставка
  • Опубліковано 10 гру 2024

КОМЕНТАРІ • 181

  • @hosmjrshinh2675
    @hosmjrshinh2675 4 роки тому +294

    This series is like Netflix to me..

  • @viveknirmal4811
    @viveknirmal4811 5 років тому +47

    BEAUTIFUL VOICE WITH AMAZING EXPLANATION

  • @siddhantdash4955
    @siddhantdash4955 5 років тому +131

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

    • @anveshatagore542
      @anveshatagore542 3 роки тому +7

      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 роки тому +5

      I am lucky 😌😌😌😌🤣

    • @jasminjasu3140
      @jasminjasu3140 2 роки тому +2

      I'm lucky

  • @m.irshad7082
    @m.irshad7082 3 роки тому +33

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

  • @letscode5367
    @letscode5367 6 років тому +23

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

  • @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.

  • @jasminjasu3140
    @jasminjasu3140 2 роки тому +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👩‍🏫‍.

  • @chandusai3064
    @chandusai3064 3 роки тому +6

    Clear and crystal explanation .Thanks to Neso Academy

  • @ShreyaskarART
    @ShreyaskarART 4 роки тому +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.

  • @techzsm1840
    @techzsm1840 2 роки тому +2

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

  • @vmtejaswini4351
    @vmtejaswini4351 3 роки тому +4

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

  • @johnbode5528
    @johnbode5528 4 роки тому +13

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

  • @yashashreemehare1488
    @yashashreemehare1488 Рік тому +1

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

  • @baronkalita2897
    @baronkalita2897 6 років тому +6

    best explanationi have ever watched,thank you so much sir

  • @Rohit_Sawant_
    @Rohit_Sawant_ 27 днів тому +1

    There cannot be a best and easy explanation of this sir kudos to u 💯

  • @Ayush37262
    @Ayush37262 3 роки тому +2

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

  • @rahulvibes162
    @rahulvibes162 3 роки тому +8

    brother you really nail pre and post increment
    thanks a lot

  • @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

  • @lonewolf16916
    @lonewolf16916 4 роки тому +4

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

  • @Kavithomas_Engineer
    @Kavithomas_Engineer 6 років тому +5

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

  • @dramas_hub
    @dramas_hub 9 місяців тому

    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.

  • @bingyang7571
    @bingyang7571 3 роки тому +1

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

  • @rangrezuzma9853
    @rangrezuzma9853 4 роки тому +1

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

  • @dipeshadhikari7999
    @dipeshadhikari7999 3 роки тому +2

    Sir your videos are really helpful for basic programmers

  • @mdghufranalam7369
    @mdghufranalam7369 3 роки тому +2

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

  • @missionimpossible5657
    @missionimpossible5657 Рік тому

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

  • @mauryaashish1865
    @mauryaashish1865 4 роки тому +3

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

  • @navneet_kishan
    @navneet_kishan 6 років тому +2

    best explanation for lvalue nd rvalue

  • @snehanaik406
    @snehanaik406 7 місяців тому +1

    Loving it....

  • @farhanislam3707
    @farhanislam3707 5 років тому +2

    EXCELLENT EXPLAINED
    LOVE U BROTHER

  • @vikasbansal4180
    @vikasbansal4180 2 роки тому

    Now, it makes the concept crystal clear.

  • @nidhiyadav4444
    @nidhiyadav4444 4 роки тому +2

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

  • @sachindeora2143
    @sachindeora2143 4 роки тому +1

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

  • @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 💕

  • @derickjohn8323
    @derickjohn8323 2 роки тому +1

    the subtitles were athing to me .❤❤❤❤

  • @VivekMallaReddy
    @VivekMallaReddy 8 місяців тому

    Super explanation.. Wonderful...👍👌👌

  • @dineshsingha7519
    @dineshsingha7519 3 роки тому

    World best teacher I just love neso academy

  • @bts_world8259
    @bts_world8259 3 роки тому +2

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

  • @sarahq8128
    @sarahq8128 2 роки тому +1

    Very well explained! Thank you

  • @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

  • @jagannathsahoo6520
    @jagannathsahoo6520 2 роки тому +1

    Thanks a lot❤ sir for your mind blowing explanation

  • @xonexgamerz7459
    @xonexgamerz7459 3 роки тому

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

  • @randomness2216
    @randomness2216 2 роки тому +1

    Absolutely insane 🔥

  • @ileshdhall
    @ileshdhall 11 місяців тому

    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)

  • @hariswaruparya373
    @hariswaruparya373 4 роки тому

    Best explanation
    With better understanding

  • @dennyage4791
    @dennyage4791 3 роки тому

    Best tutorial on c in earth

  • @nickoemmanuelvillacruz3090
    @nickoemmanuelvillacruz3090 4 роки тому +1

    Thank you for clearing my confusion

  • @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 4 роки тому

      @@anilakokapeta9203 I'm 10

    • @anilakokapeta9203
      @anilakokapeta9203 4 роки тому

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

  • @rahulbhati9748
    @rahulbhati9748 5 років тому +1

    6:00 lvalue rvalue

  • @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 ❤️

  • @jamaludeen2947
    @jamaludeen2947 3 роки тому

    The deep explain best teacher great 👍🏻 bro

  • @anamikamishra2152
    @anamikamishra2152 5 років тому +2

    Wow thankuuuu so much sir thanks alot

  • @SatyaGarlapati-id9kg
    @SatyaGarlapati-id9kg 6 місяців тому

    Very good lecture sir❤

  • @kirannegi3984
    @kirannegi3984 5 років тому +1

    So beautiful tips

  • @rafiyatabasum378
    @rafiyatabasum378 3 роки тому

    Excellent explaination bro. Hats off.

  • @waseemqasim323
    @waseemqasim323 4 роки тому +1

    Good job ! 👌

  • @kornmc
    @kornmc 2 роки тому

    really perfect course REALLYYYY!!!!

  • @binodokheda6727
    @binodokheda6727 5 років тому +1

    nice video in a understandable words

  • @kayasaxena2690
    @kayasaxena2690 2 роки тому

    I'm addicted to your videos 🤤😍

  • @aishamudathir7847
    @aishamudathir7847 2 роки тому

    love your videos

  • @kamyagupta4030
    @kamyagupta4030 2 роки тому +1

    thank you ❤️

  • @Akashprustyvlog
    @Akashprustyvlog 2 роки тому

    it is very helpful for cse student

  • @hammadmemon4739
    @hammadmemon4739 3 роки тому

    woww best teacher ♥️

  • @TharushiFernando-fv8bq
    @TharushiFernando-fv8bq 4 місяці тому

    wow nice teacher😍

  • @bhoomikashetty3969
    @bhoomikashetty3969 3 роки тому

    Your new follower 👍👍👍

  • @taradean.
    @taradean. 2 роки тому

    hats off to you sir

  • @sandysanarb8365
    @sandysanarb8365 4 роки тому

    I love neso academy 🥰

  • @parthdandawate7245
    @parthdandawate7245 3 роки тому

    Amazing hatts off explaination

  • @TSWSCI
    @TSWSCI Рік тому

    Thank you so much for this series

  • @hajimeville
    @hajimeville 3 місяці тому

    Anything couldn't be clearer than this video

  • @shehanhirudika4512
    @shehanhirudika4512 3 роки тому

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

  • @simrankaursandhu4589
    @simrankaursandhu4589 2 роки тому

    Hats off to u sir👏

  • @anandkumar-ni8cn
    @anandkumar-ni8cn 3 роки тому

    Great explanation

  • @rajram5241
    @rajram5241 2 роки тому

    Nice explanation sir

  • @krishsethiya1715
    @krishsethiya1715 2 роки тому

    thanks for teaching

  • @InsideBelieve7123
    @InsideBelieve7123 3 роки тому

    Thanks sir these videos are really helpful

  • @bhaveshpatil1424
    @bhaveshpatil1424 2 роки тому

    Thanks Sir ☺️

  • @rakshitasharma5311
    @rakshitasharma5311 3 роки тому

    Thank u sir for such videos.

  • @alieubah9951
    @alieubah9951 4 роки тому

    thanks bro ,finally understood

  • @SalmanKhan-pu6sc
    @SalmanKhan-pu6sc Рік тому

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

  • @exploratoryhub8445
    @exploratoryhub8445 3 роки тому

    Well explained! ... Thanks sir

  • @gates4501
    @gates4501 4 роки тому +1

    please make a course on compiler design

  • @SaqibKhan-cy4sy
    @SaqibKhan-cy4sy 2 роки тому

    Good video I have affresiate

  • @sandysanarb8365
    @sandysanarb8365 4 роки тому

    U r the best!!

  • @adnaneshtiak4817
    @adnaneshtiak4817 3 роки тому

    Thank You So Much!

  • @saurabhmishra2416
    @saurabhmishra2416 5 років тому

    Great WORk sir

  • @shadabalam8070
    @shadabalam8070 6 років тому

    Thanks sir you clear my doubt.thanks a lot.

  • @ranjanlevii1857
    @ranjanlevii1857 Рік тому +2

    Where can we get the notes from?

  • @amarnathgoshika6730
    @amarnathgoshika6730 5 років тому

    Nice explanation

  • @knewzi3152
    @knewzi3152 2 роки тому

    phew, I finally understand the concept after jumping around other youtube tutorials

  • @agamgill9563
    @agamgill9563 6 років тому

    Informative....thank u sr

  • @shreyashsingh3770
    @shreyashsingh3770 Рік тому

    Yess , it seems a short clip which ends in 8 minutes 😱😱 ...

  • @kaushikg1833
    @kaushikg1833 4 роки тому

    Some worthy words

  • @darshanrathi1081
    @darshanrathi1081 6 років тому

    Ty sir .......well explained

  • @aditisharma8482
    @aditisharma8482 5 років тому

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

  • @saykatamkeen7860
    @saykatamkeen7860 5 років тому

    awesome lecture

  • @sumanmandal5393
    @sumanmandal5393 4 роки тому

    Thanks Sir

  • @sadhusaitarun4158
    @sadhusaitarun4158 5 років тому

    Nice vedio sir

  • @sonusambharwal8828
    @sonusambharwal8828 5 років тому

    Outstanding sir