Recursion in C with factorial program | C Programming in tamil | Logic First Tamil

Поділитися
Вставка
  • Опубліковано 31 січ 2025

КОМЕНТАРІ • 26

  • @naveenkarthik2801
    @naveenkarthik2801 3 роки тому +21

    I am a biology student but now studying mechanical engineering. I don't have any such a basic knowledge of programming. So, I feel very hard to understand the programmes and coding. After watching this video, I am very clear i. Recursion topic. Thanks

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

    Fantastic Mam...!!!! Great Job
    Thanks Lot

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

    vera level explanation

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

    Very clear explanation mam. Very very thank you mam

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

    Explaining vera level...mam

  • @NaveenKumar-vl6xv
    @NaveenKumar-vl6xv 3 роки тому +1

    Good explanation in recursion topic

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

    Excellent 👍👍

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

    Awesome explanation mam

  • @ChandraGanesh-in9rp
    @ChandraGanesh-in9rp 28 днів тому

    I came from your js video

  • @Praveen-l6r
    @Praveen-l6r 3 дні тому

    1000th like 😅

  • @Infinityy37
    @Infinityy37 3 роки тому +3

    Hi sister.Can you show how to do fibonacci like factorial?

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

    Thanks you ❤️

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

    Thanks Madam🙏

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

    well explained

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

    Thanks mam

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

    In that main function, if we gave it as int main... then we have to write return 0 at the end or not?

  • @Surya-bd4ec
    @Surya-bd4ec Рік тому

    super

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

    Ma'am how to student mark recursion vachu yepadi program pannadhu if goto illa ma

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

    👍

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

    🔥

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

    #include
    int checkForPrime(int);
    int i;
    int main()
    {
    int n1,primeNo;
    printf("\t Recursion : Check a number is prime number or not :
    ");
    printf(" Enter any number : ");
    scanf("%d",&n1);
    i = n1/2;
    primeNo = checkForPrime(n1);
    if(primeNo==1)
    printf(" The number %d is a prime number.
    ",n1);
    else
    printf(" The number %d is not a prime number.
    ",n1);
    return 0;
    }
    int checkForPrime(int n1)
    {
    if(i==1)
    {
    return 1;
    }
    else if(n1 % i == 0)
    {
    return 0;
    }
    else
    {
    i = i - 1;
    checkForPrime(n1);
    }
    }
    mam i have a doubt in this code. i understoood the use of i in this code. But, what is logic behind "i=n1/2".

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

    Thank you!