Increment and Decrement operators in C | Unary operators- increment and decrement in c language

Sdílet
Vložit
  • čas přidán 28. 08. 2024
  • What is Operators? Explain it's types with Example Program....
    • Operators in C languag...
    Please Subscribe our channel...
    Learning c and Oops
    Like our Facebook Page...
    Learning c and Oops
    Don't forget to tag our channel...
    #learningcwithprogramming

Komentáře • 122

  • @papuji43
    @papuji43 Před rokem +3

    Explains word by word so easy to understand
    Short vedio hoti hai isliye dekhne ka Mann bhi krr jata hai
    Or all doubts resloves after watching their vedio.

  • @anjlishinde8500
    @anjlishinde8500 Před rokem +18

    First teacher that I can understand👍

  • @user-ze2hf2wu7l
    @user-ze2hf2wu7l Před 10 měsíci +5

    your explanation is very good❤❤❤ and easy to understand ❤❤❤❤❤😊 thank you sir❤😊

  • @jangid_deepak_2268
    @jangid_deepak_2268 Před 2 měsíci

    I'm a big fan of urs teaching style sirrrr mene baaaki se pdna hi chhod diya h apne sare technical subjects apse hi pdta hu ❤😇

  • @nageshnayak5001
    @nageshnayak5001 Před rokem +6

    one of the best teacher I see in my life 💕💕 😍 (from banglore)

  • @ashishtayade047
    @ashishtayade047 Před 10 měsíci +1

    Thank you sir very nice gide & very nice best increment & decrement operators information teaching video.👍

  • @shahidshaikh6109
    @shahidshaikh6109 Před rokem +5

    Your teaching technique is very best as compared to other teachers

  • @mathmentornk664
    @mathmentornk664 Před 3 lety +5

    Very good explanation sir........ superb...... please do videos on conditional, special, assignment. .

  • @Raushankumar-op5kl
    @Raushankumar-op5kl Před 4 lety +10

    Constant par video banaiye

  • @ahadbalti6091
    @ahadbalti6091 Před rokem +1

    Good explanation sir
    Perfect teacher for coding

  • @komalpreetkaur8807
    @komalpreetkaur8807 Před 2 lety +3

    Thank you so much sir your teaching is so good

  • @SritamDash-ej5ts
    @SritamDash-ej5ts Před dnem +1

    Programing and theory me aapka match nehin ho raha hai sir,,,🙏🏻🙏🏻😁

  • @palakkushwaha24
    @palakkushwaha24 Před 3 měsíci +1

    Explain accha kiya hsi bs quality thodi or acchi hoti video ki toh accha hota...

  • @preetidewangan9214
    @preetidewangan9214 Před 2 lety

    Your video is just wowww
    ek hi bar me smjh aa jata h🤩🤩

  • @antimasharma7191
    @antimasharma7191 Před rokem +3

    Sir agr post increment me x print krenge to 10 ayega or a++ print krenge to 11 ayega

    • @gggffgtcggghy65
      @gggffgtcggghy65 Před měsícem

      Ha Bhai u are right, but I am writing this comment after 1 year😂

  • @PriyankaVerma-xr6jh
    @PriyankaVerma-xr6jh Před 8 měsíci

    So beautiful so elegant just wow

  • @chocolyte1950
    @chocolyte1950 Před 2 lety +5

    Sir in post increament if i write x in printf then it will return 10,and if i write a++ then gives 11, but you say opposite 🤔

  • @akashjajoriya8677
    @akashjajoriya8677 Před 3 lety +1

    Thanqu ❤️❤️ very much sir🙏🏾🙏🏾🙏🏾

  • @lifefact7390
    @lifefact7390 Před 6 měsíci

    Sir agar hum ( a-- ) ki jagah ( a=a-1 ya a=-) likh sakte hai ya nahi

  • @shubhamshukla9868
    @shubhamshukla9868 Před 2 lety +2

    Aapne theory and practical dono different btay h

  • @shaziaansari1197
    @shaziaansari1197 Před 4 měsíci

    ❤❤❤❤❤ very nice explanation dear sir

  • @Rajkumar-sg3yx
    @Rajkumar-sg3yx Před měsícem

    Sir or aap getch kya hota or kyi used hota hai?

  • @PrinceKumaryadav-ei5kv

    It is very important or useful

  • @Bike799
    @Bike799 Před 3 lety

    Thank you sir tomorrow is my paper

  • @Rajkumar-sg3yx
    @Rajkumar-sg3yx Před měsícem

    Sir ek baar laptop pr bhi samjh do plz😅

  • @lotsofarts7895
    @lotsofarts7895 Před 3 lety +1

    Thanks
    Nice video

  • @akashsahoo9729
    @akashsahoo9729 Před 9 měsíci +1

    Sir today videow ican't know what is this

  • @akhileshkushwaha9211
    @akhileshkushwaha9211 Před 4 lety +2

    Thanks sir

  • @user-rp5hq2ye5c
    @user-rp5hq2ye5c Před rokem

    konsa apps me coding karte hain aap??????

  • @rohitkumarroll22-c95
    @rohitkumarroll22-c95 Před 3 lety +1

    Sir vide clean nhi show kar eha hai please creat a video again

  • @gaurawk.
    @gaurawk. Před 2 lety +1

    Sir a=10,x;
    Aur printf("%d",a--);
    Toh iska kya answer hoga

    • @ExploreKnowledgeNow
      @ExploreKnowledgeNow Před 2 lety

      10
      Becouse postfix solve at the last or after the operation
      Ao here print operation will perform first and print 10
      After decrease will perform and a wil be 9 but it will not print so it is not display.

    • @mansipatel7031
      @mansipatel7031 Před 2 lety

      10 ayega

  • @Dabu5092
    @Dabu5092 Před rokem

    Thxx Bhai apne bhot help kare .,🙏🙏

  • @asherushare
    @asherushare Před 2 lety +2

    Thank you so much sir, I love you 🥰

  • @nikeshsingh2081
    @nikeshsingh2081 Před 2 lety +1

    Can we use it on float value

  • @mohd.khajabasheeruddin9928

    Sir why pre increment gives output as 12 an d post increment gives output as 11

    • @LearnCodingOfficial
      @LearnCodingOfficial  Před rokem

      Because pre increment... Firstly increase the value 1 and post increment just hold old value then increase 1 on the member.🤗

  • @pranjudeshbhratar1064
    @pranjudeshbhratar1064 Před 8 měsíci +2

    Copy me padata vakt kuch or और program karate vakt kuch or

  • @arshtech007
    @arshtech007 Před 3 lety +16

    sir wrong ha

    • @user-rt4ds7zp8p
      @user-rt4ds7zp8p Před 8 měsíci

      Kaise wrong hai

    • @KIRITO-dualwielder-
      @KIRITO-dualwielder- Před 7 měsíci +3

      ​@@user-rt4ds7zp8pBhai video dekh dubara.. copy mai likhte time bola ki post mai x ki value 11 ayegi or a ki 10.. but code run krte time bolra hai ki x ki value 10 ayegi or a ki 11

    • @harshvardhanpathak7309
      @harshvardhanpathak7309 Před měsícem

      Ha wrong bta rhe h ye

  • @ishant11100
    @ishant11100 Před 2 lety

    Sir aapp left hand sei likhte ho na nice

  • @myvlog73_
    @myvlog73_ Před 2 lety

    I love you sir❤❤

  • @smitadeb7592
    @smitadeb7592 Před 3 lety +2

    Sir please tell me what is the difference between print and printf? Can we use both in C++?

    • @LearnCodingOfficial
      @LearnCodingOfficial  Před 3 lety +13

      Print function is used only for Java and Python whereas Printf function is used only in C Language.🙏🙏🙏
      We can't use both print & printf in C++.

    • @ExploreKnowledgeNow
      @ExploreKnowledgeNow Před 2 lety +1

      Printf() means print formatting
      Where in c language printf() can print various formatting of value using formate spacifiere like.
      %d for decimal value (without point)
      %o for octal
      %x for hexadeximal
      %c for character
      As so on.
      Exa.
      printf ("%d" , 65);
      Output
      65

    • @Sneha8397-smw
      @Sneha8397-smw Před rokem

      ​@@ExploreKnowledgeNow thnku

  • @ayushpandey7360
    @ayushpandey7360 Před rokem

    Sir notes mil jayega

  • @programminglearningnmujhl4531

    plz sir Phone saylint Kaya Karo distarb hota he sms aneke time

  • @diyarathore24
    @diyarathore24 Před 3 lety

    Why didn't we use scanf function after printf??

    • @LearnCodingOfficial
      @LearnCodingOfficial  Před 3 lety +3

      1. Because scanf function we used to take input then after we print output using printf .
      2. Input first then output, that's why we use scanf before the printf
      3. After scanf printf is used to print scanf data and before scanf printf just use to display messages

    • @LearnCodingOfficial
      @LearnCodingOfficial  Před 3 lety +5

      I hope you got the ideas 🙏🙏🙏

    • @diyarathore24
      @diyarathore24 Před 3 lety +1

      Yes thanks alot sir I get it😊

    • @diyarathore24
      @diyarathore24 Před 3 lety +1

      But my question is that sir why didn't we use scanf function here in this program?

    • @LearnCodingOfficial
      @LearnCodingOfficial  Před 3 lety +5

      scanf function is used when you only take input at runtime but in this program we assign the value on variable at compile time,that's why we didn't use scanf in this program.

  • @learnwise1457
    @learnwise1457 Před 2 lety

    Amazing

  • @singleboysanju1309
    @singleboysanju1309 Před 3 lety

    Specal oprator kha gaya bhai

  • @akashjajoriya8677
    @akashjajoriya8677 Před 3 lety +1

    Nice🔥

  • @anupampal1933
    @anupampal1933 Před 4 lety

    Sir video is very nice

  • @jyotisingh3679
    @jyotisingh3679 Před rokem

    Thanks again ❤

  • @herosir210
    @herosir210 Před 8 měsíci +1

    tera khud ka concept clear nahi hai hai
    or chale dusre ko sikhane😂

  • @myvlog73_
    @myvlog73_ Před 2 lety

    Easy to understand 😇😇

  • @akashsahoo9729
    @akashsahoo9729 Před 9 měsíci +2

    Sir today mean 16/11/23

  • @ajmaltaj4951
    @ajmaltaj4951 Před rokem

    @anjli shinde I lov u

  • @poojakaushik1370
    @poojakaushik1370 Před 2 lety

    mind blowing sir

  • @jangid_deepak_2268
    @jangid_deepak_2268 Před 2 měsíci

    Kuch jaanka nhi pdaaaa aapke isme 😢

  • @Sneha8397-smw
    @Sneha8397-smw Před rokem

    Not understand... Pre increamemt Or post increament..

  • @supriyachaudhary2554
    @supriyachaudhary2554 Před 2 lety

    Thank u sir

  • @virendrarao827
    @virendrarao827 Před rokem

    BCA students like only

  • @ranjannitjsr533
    @ranjannitjsr533 Před 2 lety

    Explain thik se kariye ...

  • @vaishnaviwadhai986
    @vaishnaviwadhai986 Před 2 lety

    👍

  • @SurajKumar-fi4vh
    @SurajKumar-fi4vh Před rokem +1

    #include
    int main()
    {
    int a=10,x;
    x=a++;
    printf("%d",a++);
    return 0;
    }
    Result will 11 not 10 how

    • @LearnCodingOfficial
      @LearnCodingOfficial  Před rokem

      x = a++;: The value of a (which is 10) is assigned to x, and then the value of a is incremented to 11.
      printf("%d
      ", a++);: The current value of a (which is now 11) is printed using printf, and then the value of a is incremented to 12.
      🙂

  • @ExploreKnowledgeNow
    @ExploreKnowledgeNow Před 2 lety

    Bhai kyo galat galat bta rhai ho
    Phle complete shik lo... Padana bahut acchi baat hai lekin Phle khud kro fir sbko batao...

  • @newsky6572
    @newsky6572 Před rokem

    15 minutes before exam

  • @SudeshKumar-jz2xd
    @SudeshKumar-jz2xd Před 2 lety +1

    Thank you so much sir ❤️❤️

  • @isasingh8856
    @isasingh8856 Před 4 lety

    Thank you sir