C_91 Functions in C- part 8 | Function With Argument and Return Type

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

КОМЕНТАРІ • 160

  • @sidharthsinghania5931
    @sidharthsinghania5931 3 роки тому +149

    I urge every students who already have or going to get a job to give a part of their salary to mam as guru dakshina. She deserves it. Every single day she uploads and clear every doubts of ours. We really can't thank you enough for all the efforts you been putting in.

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

      ua-cam.com/video/tPaj5kF4l3I/v-deo.html

    • @sunsetpost4931
      @sunsetpost4931 2 роки тому +19

      Me to property naam kar du.

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

      @@sunsetpost4931 😂😂😂kar dee tab

  • @swamyjupudi9857
    @swamyjupudi9857 Рік тому +36

    My madam told us this classification of functions in a period ...but you made a separate video on 4 to make better understanding 💥❤️😭

  • @kevsergunesli6587
    @kevsergunesli6587 2 роки тому +13

    dude she is the best teacher ever. ı was really struggling about understanding the functions. she made almost everything clear. she is a real gem

  • @reeshmamuneer3633
    @reeshmamuneer3633 2 роки тому +52

    #include
    int max(int, int);
    void main()
    {
    int a, b;
    printf("Enter two numbers:");
    scanf("%d%d",&a,&b);
    int m=max(a,b);
    printf("maximum:%d",m);
    }
    int max(int x,int y)
    {
    if(x>y)
    return(x);
    else
    return(y);
    }

  • @shreyascheripalli3011
    @shreyascheripalli3011 Місяць тому

    I am studying in NIT surat and our so called qualified professors never showed us practicals in their pc and cared if the student is understanding .thanks a lot mam🙏

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

    A lot of love from pakistan.you gave your 100%.Thankyou very much

  • @VinayKumar-qo3yy
    @VinayKumar-qo3yy 2 роки тому +1

    Mam i wached your all vedios related funtions and after taking all lactures i feel that ab main apni college vali mam ko bhi jakr smjha skta hoon itna pdhlia

  • @VishalYadav-ss4qv
    @VishalYadav-ss4qv 3 роки тому +4

    One of the best teacher among all❤️❤️

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

      ua-cam.com/video/tPaj5kF4l3I/v-deo.html

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

    11:50 program that takes two arguments as input and checks which number is maximum:
    #include
    int findMax(int num1, int num2) {
    if (num1 > num2) {
    return num1;
    } else {
    return num2;
    }
    }
    int main() {
    int num1, num2;
    printf("Enter the first number: ");
    scanf("%d", &num1);
    printf("Enter the second number: ");
    scanf("%d", &num2);
    int max = findMax(num1, num2);
    printf("The maximum number is: %d
    ", max);
    return 0;
    }

  • @richiagrawal1616
    @richiagrawal1616 2 роки тому +6

    Thankyou very much ma"am. I am able to complete each of you assignment with such a ease that even i am astonished.. I am just following you lectures and gaining confidence in coding.. thankyou ma'am.. really will always be grateful to have a mentor like you😃😃

  • @hiriharanvm5568
    @hiriharanvm5568 7 місяців тому

    I came to know about you mam When I searched about data structures and till now you are the best teacher with detailed explanation, and yeah thank you for everything ❤and may God bless you with all happiness and wealth ✨ Take care mam

  • @lakshmihymavathichaturvedu7953
    @lakshmihymavathichaturvedu7953 6 місяців тому

    U made us to solve by ourselves after hearing the lecture🤩😍thank u so muchhh

  • @NishaBhatt-l1n
    @NishaBhatt-l1n Місяць тому

    all series of classification of function is very helpful

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

    Im from USA. TYSM madam 👌 4:36

  • @riyagupta1841
    @riyagupta1841 3 роки тому +9

    Mam after this video pls make a video on passing array as function:
    1. By declaring array as parameter in function
    2. By declaring pointer in function to hold base address of array
    Pls mam 😊 also upload a video on this with example please please 🙂🙂

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

      ua-cam.com/video/tPaj5kF4l3I/v-deo.html

  • @jatinsinghhada8623
    @jatinsinghhada8623 2 роки тому +19

    #include
    int max(int ,int);
    void main()
    {
    int a,b,c;
    printf("Enter a and b:
    ");
    scanf("%d%d",&a,&b);
    c=max(a,b);
    printf("%d is greater
    ",c);
    }
    int max(int x, int y)
    {
    if(x>y)
    {
    return x;
    }
    else
    return y;
    }

  • @maryannemuthoni5388
    @maryannemuthoni5388 10 місяців тому +1

    Answer to the question for max() function:
    #include
    int max(int, int);
    int main(void)
    {
    int x, y, c;
    printf("Enter 2 number: ");
    scanf("%d %d", &x, &y);
    c = max(x, y);
    printf("Max is %d", c);
    return (0);
    }
    int max(int a, int b)
    {
    if (a > b)
    {
    return (a);
    }
    else
    {
    return (b);
    }
    }

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

    Mam aap khub accha padhate hoo mujhe apka class pasand aaya aur mai mechanical student hu aap bohot mehent kr rahe ho☺️🙏

  • @teja._.
    @teja._. 3 роки тому +3

    Thank you soo much mam, Because of your excellent teaching i learnt functions and also im eager to learn all concepts.

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

    Mam I was doing a mistake of not taking c = add (a,b) now I thank you 🙏 😊 ☺ 😀 🙂

  • @nilotpalchoudhury9659
    @nilotpalchoudhury9659 2 роки тому +19

    Assingment :
    #include
    #include
    int s(int,int);
    void main()
    {
    int a,b,c;
    printf("Enter two numbers :
    ");
    scanf("%d%d",&a,&b);
    c=s(a,b);
    printf("The greater number is : %d",c);
    }
    int s(int x,int y)
    {
    if(x>y)
    return x;
    else if(y>x)
    return y;
    }

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

    Mam please make videos on JavaScript specially logic part u ll get billions of blessings from all over the world

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

    Thankyou so much mam........ ❤️

  • @PratikPudasaini-bm7yd
    @PratikPudasaini-bm7yd 5 місяців тому

    Thank you maam for your help. Now i am clear about this.

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

    Tqs mam🥰
    Love from nepal🇳🇵🥰

  • @BAEC-ez7pq
    @BAEC-ez7pq 3 роки тому +2

    Best teacher who help me too score ccp♥️♥️♥️♥️♥️

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

      ua-cam.com/video/tPaj5kF4l3I/v-deo.html

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

    Thank you so much mam for clearing my concept ❤🔥❤🚩

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

    I'm more into C++ so
    int isLarge(int, int);
    int main()
    {
    int a, b, c;
    cout a;
    cout b;
    c = isLarge(a, b);
    cout

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

    U have good programming knowledge mam

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

    Thanku very much maam to clear my dought 🙏

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

    3:26 i was shocked mam😆

  • @gamer5758-s3n
    @gamer5758-s3n 11 місяців тому

    thankyou so much mam...very helpful !!!!!!!!

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

    Mam please do a video on Pascal triangle program it was asking many companies in interviews

  • @jupiter-84
    @jupiter-84 2 роки тому +1

    Thank you so much ma'am!!

  • @TrishalMishra
    @TrishalMishra 7 місяців тому

    Thank you mam ❤😊

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

    Love u mam........❤❤❤❤❤🤩😍😍😍😍

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

    Thank you ma'am..☺☺

  • @yashass6485
    @yashass6485 10 місяців тому +1

    You look beautiful ❤ 🙌

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

    Explanation clearly

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

    ma'am upload the video how to calculate time complexity . in data structures playlist no video about time complexity

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

      ua-cam.com/video/tPaj5kF4l3I/v-deo.html

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

    Thankyou so much mam ❤👍🏻

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

    U are fabulous Mam👍...

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

    #include
    int maxNumber(int, int);
    void main(void)
    {
    int x, y, result;
    printf("Enter two numbers
    ");
    scanf("%d %d", &x, &y);
    result = maxNumber(x,y);
    printf("%d is the maximum number", result);
    }
    int maxNumber(int num1, int num2)
    {
    if(num1 > num2)
    return num1;
    else
    return num2;
    }
    //thanks mum.

  • @RishamoniBarmn
    @RishamoniBarmn Місяць тому

    Ma'am i didn't understood...why in main function its written void instead of int??

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

    assingment :=
    #include
    int max(int,int);
    int main()
    {
    int a,b,l;
    printf("enter 2 no");
    scanf("%d%d",&a,&b);
    l=max(a,b);
    printf("
    grater is %d",l);
    return 0;
    }
    int max(int x,int y)
    {
    if(x>y)
    return x;
    else
    return y;
    }

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

    Great video 😊🙏

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

    #include
    Int max(int,int);
    Int main()
    {
    Int a,b,m;
    Printf("enter the values of a and b
    ");
    Scanf("%d %d",&a,&b);
    Max(a,b);
    }
    Int max(int x,int y)
    {
    If(a>b)
    {
    Printf("a is max number");
    }
    Return a;
    Else
    {
    Printf("b is the max number");
    }
    Return b;
    }

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

    Thanks for the lect ma'am

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

      ua-cam.com/video/tPaj5kF4l3I/v-deo.html

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

    function to find the maximum number using ternary operator:
    #include
    int fun(int, int);
    void main()
    {
    int x, y,c;
    printf("Enter two numbers:");
    scanf("%d %d", &x, &y);
    c= fun(x,y);
    printf("The greater number is: %d",c);
    }
    int fun(int a, int b)
    {
    int s=0;
    s=(a>b)?a:b;
    return s;
    }

  • @rahulbarve9836
    @rahulbarve9836 7 місяців тому

    Very beautiful ❤😊

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

    i just love this woman. i wish i can be in her physical class, erudite woman

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

    #include
    Max(int,int);
    Void main ()
    {
    Int a,b,M;
    Printf ("enter two numbers
    ");
    Scanf("%d%d"&a,&b);
    M=Max(a,b);
    Printf ("%d is maximum number" ,M);
    }
    Max(intx,inty)
    {
    If(a>b)
    {
    Return a;
    }
    Else
    {
    Return b;
    }
    }

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

    Thanks mam love you ❤

  • @ashokpangeni
    @ashokpangeni 10 місяців тому

    thank you

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

    Thanks mam

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

    Saviour for coding

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

    Assignment:
    #include
    int max(int, int);
    int main(void)
    {
    int x, y, m;
    printf("Enter two numbers:
    ");
    scanf("%d %d", &x, &y);
    m = max(x, y);
    printf("%d is greater!
    ", m);
    }
    int max(int a, int b)
    {
    if(a > b)
    {
    return a;
    }
    else
    {
    return b;
    }
    }

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

    She teaches so nicely but she sounds too strict... 😅😅

  • @GarimaTiwari-f9x
    @GarimaTiwari-f9x Місяць тому

    Why we not take int main()

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

    Mam, please cover the file handling concepts also..thank you

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

      ua-cam.com/video/tPaj5kF4l3I/v-deo.html

  • @AdilKhan-le5sy
    @AdilKhan-le5sy 2 роки тому +1

    💙💜💜💜💙💙💙good teacher 👍 and cancept it and C's defferent job and sellary

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

    mam y did u use return s y cant we use return c.. can plse help me out

  • @Bharathkumar-en8df
    @Bharathkumar-en8df 3 роки тому +1

    Let me know ...why didn't you teaching the cloud computing like AWS and AZURE???

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

      ua-cam.com/video/tPaj5kF4l3I/v-deo.html

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

    So beautiful 🥰🥰

  • @santoshkharade-ud2lp
    @santoshkharade-ud2lp Рік тому

    Teri najro ne dil ka. ......

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

    max between two numbers
    #include
    void greater(int, int);
    void main(){
    int a,b;
    greater(a,b);
    }
    void greater(int a, int b){
    printf("Please enter for a and b:");
    scanf("%d %d",&a,&b);
    if(a>b){
    printf("A is greater than B, because a is %d and b is %d",a,b);
    }
    else{
    printf("B is greater than A, because b is %d and a is %d",b,a);
    }
    }

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

    Mam please make a video on recursion

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

    main function returns value to whom

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

    Why mam write void because return value is there in that function

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

    Function With Argument before going to party :)

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

    Is this a last part in function!?

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

    // Maximum number with both para and return //
    #include
    #include
    int max(int,int);
    int max(int a,int b)
    {
    if(a>>b)
    {
    return(a);
    }
    else
    {
    return(b);
    }
    }
    void main ()
    {
    clrscr();
    int a,b,x;
    printf(" Enter a and b = ");
    scanf("%d%d",&a,&b);
    max(a,b);
    x=max(a,b);
    printf(" Maximum is %d",x);
    getch();
    }

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

    Why is there written s=0?

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

    Mam course kab tak complete ho jayega

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

      ua-cam.com/video/tPaj5kF4l3I/v-deo.html

  • @technath.
    @technath. 3 роки тому

    I love your voice ma'am

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

      ua-cam.com/video/tPaj5kF4l3I/v-deo.html

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

    Maam Why we use these 4 types but any type is same answer

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

    Why we are using s=0; instead of simply declaring int s;

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

    Good evening ma'am

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

      ua-cam.com/video/tPaj5kF4l3I/v-deo.html

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

    respect ++

  • @keerthipriya3080
    @keerthipriya3080 2 роки тому +5

    #include
    int max(int,int);//fun declaration
    void main()
    {
    int c;
    c= max(12,13);//fun calling
    printf("%d",c);
    }
    int max(int x,int y)//called function
    {
    if(x>y)
    {
    return x; //fun definition
    }
    else
    {
    return y;//fun definition
    }
    }

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

    Recursion pls and it's tough prativad quesn mam.pls

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

      ua-cam.com/video/tPaj5kF4l3I/v-deo.html

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

    Assignment Answer:-
    #include
    int max(int, int);
    void main()
    {
    int a, b, m;
    printf("Enter 2 numbers: ");
    scanf("%d %d", &a, &b);
    m = max(a, b);
    printf("The maximum number = %d", m);
    }
    int max(int x, int y)
    {
    if(x > y)
    return x;
    else
    return y;
    }

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

    1st view

  • @NA7-DEVIL
    @NA7-DEVIL 2 роки тому +2

    Mam please promote us also please in community's post

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

    Thank you mam

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

      ua-cam.com/video/tPaj5kF4l3I/v-deo.html

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

    mam c++ return function you are please teaching mam i have searching more than return function but everyone is not clearly explain mam so explain this topic mam.please

  • @shashank_kishore_
    @shashank_kishore_ Місяць тому

    ❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤

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

    mam can u give me offline coaching

  • @AniketSingh-dy8gq
    @AniketSingh-dy8gq 2 роки тому

    samajh nhi aaya kya bola pr acha laga sunnke....

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

    Can we use main function more than once in a program?

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

    💞

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

    Mam u can try to tell in Telugu please

  • @TechPandit-nc8mi
    @TechPandit-nc8mi 3 роки тому

    Ye dress acchi h

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

    hello

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

    👍

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

    Didi ap ache ho

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

      ua-cam.com/video/tPaj5kF4l3I/v-deo.html

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

    Monu sir aapka bahen # haryana

  • @singh-ye6kf4yo2u
    @singh-ye6kf4yo2u 2 роки тому

    you are so cute😍😊😚🐻🐰😍😊😚🐻🐰😍😊😚🐻❤❤❤❤❤❤❤❤❤ love you sister

  • @moizawan1807
    @moizawan1807 10 місяців тому +1

    #include
    int ismax(int x,int y){
    // if (x>y)
    // return x;
    // else
    // return y;

    int max=(x>y)?x:y;
    return max;
    }
    int main()
    {
    int a,b,res;
    printf("enter two num ");
    scanf("%d%d",&a,&b);
    res=ismax(a,b);
    printf("%d is maximim ",res);
    }

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

    Ma'am i want to work with you as a thumbnail editor plz reply me if you are interested in it i will send some samples.
    Thank you.