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

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

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

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

    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 ปีที่แล้ว +4

      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 ปีที่แล้ว +3

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

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

      Sara

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

      Tqq Sir

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

      Sari videos dheki hai is series ki ab tak ❤️

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

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

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

    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.

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

    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

  • @mahimaprajapati7336
    @mahimaprajapati7336 2 ปีที่แล้ว +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.

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

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

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

    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 ..😇🤗.

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

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

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

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

    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 🛐

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

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

    Sir your way of teaching is insane 🔥🔥

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

    19:50 that stress on else was just amazing

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

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

  • @ananya696singh
    @ananya696singh 2 ปีที่แล้ว +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!

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

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

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

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

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

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

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

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

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

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

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

  • @liljat4638
    @liljat4638 2 ปีที่แล้ว +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 :)

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

    dosa vala example badhiya tha attention khichne ke liye

  • @demonback7728
    @demonback7728 3 ปีที่แล้ว +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**

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

    Yhi same topic mere cllg mai jab karaya toh mujhe kuch bhi smj nhi aya tha bhot confuse hogya tha ..... But this video really made me crystal clear for this topic ..... Thank you very much Harry bhaiya ❤

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

  • @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 ปีที่แล้ว

      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

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

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

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

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

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

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

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

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

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

    2:33 that was funny af😂

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

    Dosa wala bariya example tha Bhaiya.
    Thanks Harry Bhaiya

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

    Very intuitive example and great explanation Sir.

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

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

  • @ManishKushwaha36
    @ManishKushwaha36 10 หลายเดือนก่อน +1

    Very good video about recursion. Thanks!

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

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

    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.

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

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

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

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

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

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

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

    9:03 op op...we need more of such

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

    Wah! Bhai
    Boht bdia example tha❤️❤️

  • @mohammed-i786
    @mohammed-i786 5 ปีที่แล้ว +1

    Sahi hai bhai. Bohat acha explain kiya hai

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

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

  • @Param___saini-l4w
    @Param___saini-l4w 4 ปีที่แล้ว +5

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

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

    *Pehle Maine Masala Dosa Khaya...Aur Phirr Implementation Complete Kiyaa...Dono Mee Bhii Mjaa Aayaa...*

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

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

  • @ballapranavachaitanya3975
    @ballapranavachaitanya3975 10 หลายเดือนก่อน +1

    guys plz check this programme for factorial calculation and tell me whether it is correct
    #include
    int main()
    {
    int a = 1;
    int n;
    printf("enter a number:");
    scanf("%d", &n);
    for (int i = 1; i < n + 1; i++)
    {
    a = a * i;
    }
    printf("the factorial is:%d", a);
    return 0;
    }

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

      Good bro😊

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

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

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

    aswwm just loving it

  • @SahilKumar-ni7su
    @SahilKumar-ni7su 5 ปีที่แล้ว +3

    MASALA DOSA WAS GREAT😍😍

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

    aaj ja k recursion smjh me aaya 😁 thank you harry bhiyya.

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

    i have watched all 20 tutorials continuously

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

    I m in love with ur teaching skills

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

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

    the masala dosa is excellent harry Bhai not in taste but in understanding aisa ki gadha bhi samajh Jaye

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

    Bhai masala dosa recipe understanding bhahut mast thi

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

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

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

    Thank you sir for such a nice explanation of functions 🤗

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

    Loved your intuitive teaching😍

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

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

  • @shwetakadam3337
    @shwetakadam3337 10 วันที่ผ่านมา

    Thank you sir so much help full for beginners 😊

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

    Harry bhaiya ... aaj se dosa favourite bana diya aapne sabka 😂

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

    Thanku sir for this amazing course 😊

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

    Intuitive understanding is best ❤❤

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

    Sir plzz...make playlist of data structure

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

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

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

    Kya sanmjate ho sir aap ekdum samaj me aagya

  • @mohammed-i786
    @mohammed-i786 5 ปีที่แล้ว +4

    /* Alternative method to find factorial of a number */
    #include
    int factorialOf(int num);
    int main(void)
    {
    int number, factorial;
    puts("Enter a number : ");
    scanf("%d", &number);
    factorial = factorialOf(number);
    if(factorial != 0)
    printf("Factorial of inputed number is %d", factorial);
    }
    int factorialOf(int num)
    {
    int fact = 1;
    if(num != 0)
    {
    for(int i = 1; i

  • @sakshikatkar3562
    @sakshikatkar3562 11 หลายเดือนก่อน

    Hi sir iam just join this course amazing understand c language thank you sir ☺️

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

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

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

    mast bhai mujhe samjh mai agya ab mtlb agar dosa ko banana hai to usko banane liye incredients hai wo hai na bhai

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

    Want intuitive like explanation in every video 🙂😌🔥

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

    Teaching is perfect ❤

  • @HSTech-tp4vi
    @HSTech-tp4vi ปีที่แล้ว +1

    #include
    int factorial(int number)
    {
    if(number == 1 || number == 0)
    {
    return 1;
    }
    else
    {
    return(number * factorial(number - 1));
    }
    }
    int main()
    {
    int num;
    printf("Enter the number you want the factorial of:
    ");
    scanf("%d",&num);
    printf("The factorial of %d is: %d
    ",num, factorial(num));
    return 0;
    }

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

    Padhte samay to Masala dosa dekh ke muh me pani agaya Harry bhai.. :D

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

    Bro that masala dosa example was the best❤

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

    sir aiese intuitive examples bahut badhiya samajh aate hai
    aiese hi intuitive examples aur layiyega

  • @parmarp.h.
    @parmarp.h. ปีที่แล้ว

    Masala dosa example is wonderful sir 👌👍👏🌟

  • @TechU-yv5df
    @TechU-yv5df 4 ปีที่แล้ว

    Super se bhi uper bhai . Love you from Nepal

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

    nice harry sir dosa's example it was amezing

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

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

    wo recursive implementation ka masala dosa se explanation bohoto accha tha

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

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

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

    Ahh! 15 marks confirmed on recursion. Sir hamare colg me ajao padane msvr colg at nadargul.

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

    Or wo apki masala dosa ka example Las tha...really it's undestandable

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

    Bhai muh me paani aa gya😋😋😋😋

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

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

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

    Dosa part was insane😍

  • @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);
    }

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

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

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

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

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

    harry bhai diet pe tha aur aapne masala dosa ka example de diya😋😋
    BTW video was nice

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

    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

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

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

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

    Love Bro!OP!

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

    Thank you🙏🙏🙏 harry bhai....