Recursive Functions: Recursion In C: C Tutorial In Hindi #21

แชร์
ฝัง
  • เผยแพร่เมื่อ 4 พ.ค. 2019
  • In this series of C programming tutorial videos, I have explained you everything you need to know about C language. I hope you are enjoying this C course in Hindi.
    ►This C Lecture is a part of this C Programming Course: • C Language Tutorials I...
    ►Source Code + Notes: codewithharry.com/videos/c-la...
    ►Click here to subscribe - / @codewithharry
    Best Hindi Videos For Learning Programming:
    ►Learn Python In One Video - • Learn Python In Hindi ...
    ►Learn JavaScript in One Video - • JavaScript Tutorial
    ►Learn PHP In One Video - • Learn Php In One Video...
    ►Machine Learning Using Python - • Machine Learning Tutor...
    ►Creating & Hosting A Website (Tech Blog) Using Python - • [Hindi] Web Developmen...
    ►Advanced Python Tutorials - • Intermediate/Advanced ...
    ►Object Oriented Programming In Python - • Object Oriented Progra...
    ►Python Data Science and Big Data Tutorials - • Python Data Science an...
    Follow Me On Social Media
    ►Website (created using Flask) - www.codewithharry.com
    ►Facebook - / codewithharry
    ►Instagram - / codewithharry
    ►Personal Facebook A/c - / geekyharis
    Twitter - / haris_is_here

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

  • @CodeWithHarry
    @CodeWithHarry  5 ปีที่แล้ว +414

    Aapne is series ke kitne videos dekhe?
    Is video mei maine aapko recursions ke baare mei bataya. Ek baat batana chahunga ki recursions hamesha achhe nahi hote hain. Aisa isliye kyunki ho sakta hai ki recursions ki madad se kisi problem ko solve karte waqt aap ek hi function call ko multiple time call karein. Example hai fibonacci series jaha aapko recursions se solve karne mei zyada time lagta hai aur for loop se kaam aasani se ho jaata hai. Mai is baare mei detail mei aage cover karunga. Keep coding, keep loving and keep watching this series!

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

      Sir agr mai aapki Python ki video dekhta hu m janna chahata hu ki wen search engine kese bnaye plz is toipc pr video banana

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

      sath sath chal raha hu is series k
      thanks a lot for such videos on C

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

      Sara

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

      Tqq Sir

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

      Sari videos dheki hai is series ki ab tak ❤️

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

    THIS QUESTION COMES IN MY EXAM I GOT 15 MARKS BY THIS QUESTION ONLY WHICH HELPED ME TO PASS IN THE EXAM THANK U SO MUCH

    • @ChetnThakre
      @ChetnThakre 10 หลายเดือนก่อน +9

      Accha thik h smj gya 😂😂

    • @patienceclasher6855
      @patienceclasher6855 9 หลายเดือนก่อน +5

      @@ChetnThakre😂🤣

    • @gamingmania1236
      @gamingmania1236 5 หลายเดือนก่อน

      Mera bi paper hi ha😭😭😭

  • @jeeneshagarwal5195
    @jeeneshagarwal5195 5 ปีที่แล้ว +224

    dear sir your course is not just health but also tasty (dosa) too so that comes around a complete package thank you sir

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

    I was having little problems regarding recursions but after watching your videos my problem gets resolved. You gave me a practical and best understanding of this topic over this whole you tube platform. THANK YOU.

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

    Major life lesson from this video: career ka soch k dimaag kharab mat karo... avi k liye C seekh lo...
    Needed to hear this so badly.... Thank you Harry bhai..

  • @DevendraSingh-zr3zq
    @DevendraSingh-zr3zq 3 ปีที่แล้ว +16

    I always ignored recursive functions due to lack of examples in textbooks but bhaiya made it so simple..Thank you ..!!

  • @mahimaprajapati7336
    @mahimaprajapati7336 ปีที่แล้ว +9

    I tried to learn from books, watched many tutorials but I was stucked. After watching #CodeWithHarry I got all the knowledge regarding programming in just a short period and feeling too confident. Thank u Harry Sir. After watching C, I will finish all the other tutorials of u. Sir, Thanks for making the base easy. Now I can understand the bookish language. ❤️🙂 Sir, the positive thing is that when u explain in Hindi it becomes so flexible, because Hindi me bhot jldi or jada der k liye explanation clear rhta h. Waise bhi English me baat bhot bounded si ho jti h.

  • @KRISHANYADAV-vu7pp
    @KRISHANYADAV-vu7pp 4 ปีที่แล้ว +10

    int(good)
    {
    printf("GOOD WAY OF EXPLAINING");
    return 0;
    }
    we like it

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

    Initially in this video in didn't understand recursions & iteration but when sir you explained the dosa example that was simple to understand and i never forget ❤️

  • @sahil-ld1bu
    @sahil-ld1bu 3 ปีที่แล้ว +8

    Thanku sir, but if anyone can't understand after watching this directly to go naresh it channel you will be better understand about recursion thanku....

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

    harry bhai thank you very much for the playlist of c. it is really very interesting . we loved the coding in this playlist. Just a small request from you that if possible plz put some codes or programs for that we can practice or put some more examples in your notes or source code that you give us in description for every tutorial. put some more examples or codes with solutions of every topic . thank you!!

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

    19:50 that stress on else was just amazing

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

    Harry sir this intuitive method of explaining , develops more interest and understanding in C languages , amazing!!😊😊

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

    I respect u alot sir..... Bahut faida mil raha he apke in videos se.... God bless u....

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

    I am a student of class 10th up board and studying 'C' language as my first programming language. Thank you for sharing this tutorial. It helps me a lot!

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

    Loved your videos so much the way you explain each and everything is marvellous

  • @730_diksha_pimple3
    @730_diksha_pimple3 ปีที่แล้ว

    Thank you harry bhaiya. Your course is just amazing. I was not able to understand recursion earlier but due to your intuitive understanding, everything was clear. Thank you so much for everything

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

    recursion function of the Fibonacci series
    #include
    int fib(int num){
    if(num == 0){
    return 0;
    }
    else if(num == 1){
    return 1;
    }
    else{
    return (num = (num-1) + (num -2));
    }}
    int main() {
    int i;
    printf("enter the value
    ");
    scanf("%d",&i);
    printf("the Fibonacci series is as follows:
    ");
    for(int j=0;j

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

    an intuitive understanding was really amazing. the concept was all clear.😇🙃

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

    Intitive ubderstanding is what every student needs to relate it with real world problem please keep it up examples like this as it becomes intresting when we come to know the real life use of what we are studing

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

    very good explanation
    a lot of people learn coding
    but very few teach it in so amazing way

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

    I don't usually comment on someone's video but this guy made me do it, His understanding of prepare(dosa) topic crystal cleared my all doubts ,Love You Big Brother Keep doing it :)

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

    Thank you very much, sir, I am in 1st year and want to learn languages, and hacking, your videos are the only source of my knowledge. once again thank you very much.!!!!!!!!!

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

    That intuitive understanding (of Dosa ) just literally got water in my mouth;)
    btw wonderful explanation harry bhaiya, hats off to you!!!

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

    Amazing
    It is a tough topic
    I got it when your code worked
    then I worked it out
    Nice coaching

  • @suspensearmy361
    @suspensearmy361 5 ปีที่แล้ว +151

    Sir mujhe heart nahi diya tha #20 tutorial ma mana solve vi kiya tha

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

    Sir your way of teaching is insane 🔥🔥

  • @invincible6230
    @invincible6230 10 หลายเดือนก่อน +3

    2:33 that was funny af😂

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

    Harry, aaj tak comments nahi ki thi par aaj kar raha hoon.
    Masala dosa vala example diya ! Dekhake Bhook bhi lagi aur topic bhi sikh gaya . And sikhate wakt joke acche karte ho bhai.
    Wo managers ka example awesome tha.. 😂
    Kya bolu. Ye course beginning and repeated logonko bahot hi achha hain.
    You are not fast ok ! Course aaram se and bahot hi achhese chal raha hain..
    All the best .👍
    KEEP it up++;
    And most imp thing ki bich me JOKES marte rehana, muze to bahot maza aaya.
    sach kahu to aise course ki price honi chahiye thi, par aap free me padha rahe ho..
    THANK YOU SO MUCH.!!👍😇🤗🌟🌟🌟🌟🌟
    THANK U ..😇🤗.

  • @SA-ox9zi
    @SA-ox9zi 4 ปีที่แล้ว +4

    Very intuitive example and great explanation Sir.

  • @janhvinarayan1633
    @janhvinarayan1633 7 หลายเดือนก่อน +2

    dosa vala example badhiya tha attention khichne ke liye

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

    Very nice example of intuitive understanding .Interested to learn bussiness intelligence from you .waiting

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

    Thanks Sir You had helped me a lot by creating this playlist

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

    A life lesson with this video thank you harry bhai *aap aaj ka socho kal kya hoga mera kya hoga yeh sab nahi karna just focus on today and build yourself for tomorrow**

  • @34adnanali26
    @34adnanali26 3 ปีที่แล้ว

    sir u teach like way way better than my college professror and i do beleive u teach the best the method the time frame the examples much love for us sir. thank u for all this

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

    Harryispresent=1;
    If(Harryispresent==0){
    printf("Difficult to understand");
    }

  • @Deepak-ux4hd
    @Deepak-ux4hd ปีที่แล้ว +2

    //Thank you Sir❤ I learned alot from you😃
    #include
    int main(int argc, char const *argv[])
    {
    int a,b,c=1;
    printf("Enter your number: ");
    scanf("%d",&a);
    for ( b=2;b

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

    Harry bhai emotional Kat diya :)
    3rd point of function us moment hogya yarr 🙂
    Thank you bro sahi kaha aaj pe dhyan beetain kal par nahi 🙂:)
    Such a good teacher 🛐

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

    Thank you sir for such a nice explanation of functions 🤗

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

    masala dosa example is very good... This is best channel to learn languages... Thanks bro for this help... God Bless You...

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

    Harry bhai....your teaching skills are just awesome.

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

    your masala dosa example is best for recursive function this is good way i understood thanku harry brother

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

    Good harry Bhai I will learn lot of knowledge about programming from you... Thank you.....

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

    Harry Bhai Thanks, pehele eyea factorial Iteratively nhi ho raha tha, paar ab recursive method se easy ho gaya hain.

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

    Sir the dosa example is the best example in the life. I never forget this example

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

    Bro Your Intutive understanding is just awesome bro, pura concept clear ho gaya!! Thanks a lot bro!!!

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

    ❣❣#video21❣❣
    🌹🌹Thank you so much sir🌹🌹
    💯💯Today's accomplishments were yesterday's impossibility💯💯
    ❤❤“If you have to put someone on a pedestal, put teachers. They are society's heroes.”❤❤
    🥰🥰“The beautiful thing about learning is that no one can take it away from you.”🥰🥰

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

    Sir i think the iterative one is more better
    i tried factorial question in iterative
    and i just can't figure out that how i got 1 when i entered 0
    #include
    int main(){
    int num;
    printf("Enter your number for factorial:");
    scanf("%d",&num);
    int newn=1;
    for(num;num>=1;num--){
    newn*=num;
    }


    printf("%d",newn);
    }

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

    hello sir
    I am requesting you to please prepare a practice question set according to this course. this will help a lot of students like me to understand programming in a better way

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

    Intuitive understanding: masala dosa was programmingly healthy and tasty ...... Thank you bhaiya, for these creative ideas and awesome videos....

  • @saczzextras9091
    @saczzextras9091 5 ปีที่แล้ว +23

    aswwm just loving it

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

    Very good video about recursion. Thanks!

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

    Wah! Bhai
    Boht bdia example tha❤️❤️

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

    Sir plzz...make playlist of data structure

  • @SHIVANIGUPTA-yh4ht
    @SHIVANIGUPTA-yh4ht ปีที่แล้ว +2

    #include
    int factorial(int number)
    {
    if(number==0||number==1)
    {return 1;}
    else
    {return number*factorial(number-1);}

    }
    int main(){
    int a;
    printf("enter the no.");
    scanf("%d",&a);
    printf("%d",factorial(a));
    }

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

      thanks a lot shivani gupta you corrected my problem actually I was writing return factorial(number*(number -1)) thanks a lot for posting this code

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

    nice harry sir dosa's example it was amezing

  • @Kakashihatake-pk2cw
    @Kakashihatake-pk2cw ปีที่แล้ว +3

    Itni der masala dosa dekh ke bhook lag gayi

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

    Awesome series Dosa Example mast hae!

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

    intuitive understanding was awesome and fun

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

    fibonacci series-The Fibonacci series is a sequence of numbers where each number is the sum of the previous two numbers of the sequence. The first two numbers of the Fibonacci series are 0 and 1 and are used to generate the Fibonacci series. The Fibonacci series is given by 0, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144, and so on 123.

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

    Harry bhai super, especially your intuitive example, good keep it up

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

    Sir,
    Mera compiler kaam nhi kar rha h
    Isliye maine eclipse compiler daala h ise use krna btao sir please.

  • @chiteez_____1562
    @chiteez_____1562 9 หลายเดือนก่อน +1

    Very nice intuitive way of teaching . ❤👍

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

    I m in love with ur teaching skills

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

    Want intuitive like explanation in every video 🙂😌🔥

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

    can we write if and else statement after the scanf function ?

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

    Thank you🙏🙏🙏 harry bhai....

  • @NitinKumar-qk1fi
    @NitinKumar-qk1fi 4 ปีที่แล้ว +2

    Bro app best teacher h mai app say milna chahunga u r gr8🤗🤗🤗🤗

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

    Sir, could u pls explain how to write a factorial code using iterative strategy?

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

    Sir I could not find format document in vs code ...for making code format in good align????

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

    Dosa wala bariya example tha Bhaiya.
    Thanks Harry Bhaiya

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

    One of the best tutorials 👌🏻👌🏻👌🏻👌🏻

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

    Harry sir I can't get in c language vedio but in this vedio I. Get it. Thank. For making . The vedio
    Love from uttarakhand ❤️❤️

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

    Lots of love from pune best teacher I have seen in my life 🔥🔥🔥🔥🔥🔥

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

    Sir ,just want a heart from u....,please take this ♥️ from my side....enjoying learning from u....

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

    Just wonderful class.

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

    Sahi hai bhai. Bohat acha explain kiya hai

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

    Thanks for explaining in such a nice way ❤👍

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

    I loved our example want more of such type

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

    Bhai aap ne kia wo function banaya tha 'int factorial wala'please i cannot understand please

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

    Thanku sir for this amazing course 😊

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

    you are just awesome sir!

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

    i like your intutive example broo

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

    Intuitive understanding is best ❤❤

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

    You are great and so is your masala dosa example

  • @RITIKSINGH-kb2eh
    @RITIKSINGH-kb2eh 3 ปีที่แล้ว +2

    Harry bhai pls make a pdf for all notes
    I love all of your videos

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

    Can't believe i am going to learn complete c in 56 more days ❤️❤️🙇🙇

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

    sir aap ka explanation super se bhi uper h 🔥🔥🔥

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

    Sir your teaching is very nice.

  • @mrhuntsman5623
    @mrhuntsman5623 5 หลายเดือนก่อน

    thankkyou harry bhai for everything

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

    superb intuitive understanding

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

    Harry bhai a big req to make a video on Dry Run Fully explained ❤

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

    than u very much sir you teaching all time and without money

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

    harry sir how can i print natural no from 1 to n using recursion

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

    that dosa example ....... ur great harry sir

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

    Lovely work harry Bhai😘

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

    harry bhai please csharp tutoroial playlist videos bhi lekr aao,muje apka hi smjh aata

  • @AmanGupta-re7rv
    @AmanGupta-re7rv 4 ปีที่แล้ว +3

    Sir I not understand fact program can you explain it briefly

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

    Thanks Harry Bhaiya

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

    Thanku so much harry bhai ❤❤❤