C_87 Functions in C- part 4 |Call by Value & Call by Reference in C

Поділитися
Вставка
  • Опубліковано 3 вер 2021
  • C complete playlist: • Programming in C
    Use my code jkl10 to get 10% discount
    Career as a Developer: unacademy.com/goal/career-as-...
    HR Talks: bit.ly/Unacademy-AnujBhaiya-S...
    Connect & Contact Me:
    Vlogging Channel Link: bit.ly/354n7C7
    Facebook: / jennys-lectures-csit-n...
    Quora: www.quora.com/profile/Jayanti...
    Instagram: / jayantikhatrilamba
    Twitter: / khatrijenny
    See Complete Playlists:
    Placement Series: • Placements Series
    Data Structures and Algorithms: https: • Data Structures and Al...
    Design and Analysis of Algorithms(DAA): • Design and Analysis of...
    Dynamic Programming: • Dynamic Programming
    Operating Systems: // • Operating Systems
    DBMS: • DBMS (Database Managem...
    #functionsinC
    #CallByValue
    #CallByReference
    #Cprogrammingtuturials
    #jennyslectures

КОМЕНТАРІ • 265

  • @SandipBhattacharya
    @SandipBhattacharya Рік тому +23

    Thanks for uploading this useful tutorial, Jenny.
    Let me quickly add by saying, there are two most popular ways to call functions for parameter passing.
    1) Call by Value: This method copies the value of an actual parameter or argument into the formal parameter of the function. Both actual and formal parameters are stored in different memory locations (in RAM). So, any changes made to the formal parameters in the called function are not reflected in the actual parameters in the calling function. Note that, by default, C programming uses call by value to pass parameters.
    2) Call by Reference: On the other hand, in the call by reference method, the address of an actual parameter is copied into the formal parameter. Both actual and formal parameters refer to the same memory location. So, any changes made to the formal parameters in the called function are actually reflected in the actual parameters of the caller function. In C, we can use pointers to get the effect of pass by reference or call by reference whatever you call it.
    Hope that helps!

  • @OARIGALAASHOKKUMAR
    @OARIGALAASHOKKUMAR 2 роки тому +90

    Happy teacher's day mam you are the one and only person who is helping me a lot

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

      Loop concept ua-cam.com/video/82-yfFDVHe0/v-deo.html

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

      God bless you

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

      Mam, start grammar classes for his/her

    • @gigsnicky
      @gigsnicky Рік тому +3

      @@brogamingnepal7481 wtf bruh 😂 (By the way it will also help you)

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

      ​@@brogamingnepal7481 🤣🤣😂😂😂

  • @KiranKumar-db3rs
    @KiranKumar-db3rs Рік тому +5

    I am watching your videos from a week..... You teaching helps me to get a lot of Knowledge.... You are teaching better than my lecture

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

    ma'am, no one can teach function as like you ,ma'am, god has send you on the earth to help the student. never seen such a teacher in my life. thank you ma'am for support
    god will always help you.

  • @sunethsandaruwan392
    @sunethsandaruwan392 2 роки тому +10

    Very Clear ❤️
    Thank you madam
    ❤️ From Srilanka 🇱🇰

  • @siddhantsingh8721
    @siddhantsingh8721 2 роки тому +7

    i love your teaching mam..one of the best...i love how you use whiteboard to explain concept and then laptop screen for practical..thank you very much mam..you make programming so fun..lots of love,gratitude and respect mam!

  • @monukarki9494
    @monukarki9494 2 роки тому +12

    14:17 baby😂😂❤️
    Btw the lectures are unbeatable 🔥

  • @premrao5197
    @premrao5197 2 роки тому +15

    Really mam I'm very proud of you for your logic and concept to explain easy . I completely follow your all C and operating systems thank for everything #Happy Teachers Day💐💐💐#

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

      Am proud of you...you made programming languages easy

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

    thank you Professor Jenny, you're the absolute best, i love your energy!

  • @dannielbongi9180
    @dannielbongi9180 Рік тому +8

    your explanation is comprehended, thanks Mam for the great work👍 keep it coming

  • @AnimaterAnna
    @AnimaterAnna 3 місяці тому +2

    Baby this is your house and that is your neighbour house..that line got me😂

  • @apurvagaurav4480
    @apurvagaurav4480 Рік тому +14

    Thanks a lot, mam! I was having lots of confusion in function and pointers but now each and every concept is crystal clear 🙏🙏

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

    yet another best video from your mam. Thanks, millions again for the beautiful videos.

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

    osm explaination mam you cleared by doubt which is remain uncleared since 3 years of my coding carrer

  • @atiqahmed2123
    @atiqahmed2123 2 роки тому +10

    Hello mam. I am a regular student..
    Thanks for uploading new lecture on function.😍

  • @travellerutkarsh4964
    @travellerutkarsh4964 2 роки тому +20

    from data structure play list i am just here for latest video update 😀😀. after completing data structure, i back to here for remaining c function topic😌 bye d way mam seriously DS is properly and simply explained by you. thank you its help me a lot in my upcoming CDAC final end exam & interviews.

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

    Thank you very much for this lecture, I understand better here than my professor taught it. So much helpful ❤❤

  • @Ankit-iq9sr
    @Ankit-iq9sr 2 роки тому +3

    Happy teacher's day Ma'am. You are a my favourite teacher in you tube.

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

    You are a great mam.
    You are completly clear my all dought.. Ty

  • @sukhdevchaudhary4140
    @sukhdevchaudhary4140 2 роки тому +8

    THANKS MAM YOU CLEARED MY CONCEPT VERY WELL :)

  • @MkS23_12
    @MkS23_12 2 роки тому +4

    Happy teacher's day mam thank you for maiking programming so easy for me.

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

    Mam it was very important for me because I didn't understand this concept. Thanks for making mam.

  • @Rohan-ww4cw
    @Rohan-ww4cw 2 роки тому +4

    Thank you so much Ma'am for this video

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

    I am so so happy❤️❤️❤️❤️
    All concepts cleared

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

    YOU JUST MADE MY DAY!!! THANK YOU! THANK YOU! THANK YOU!

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

    I enjoyed this video,literally.🔥🔥

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

    much more clear. Thanks ^^

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

    Thank you mam. It's very useful and I understand that quickly.

  • @NareshSirohi1
    @NareshSirohi1 4 місяці тому

    Mam pura semester barbad ho gya college me youtube per kahi bhi samajh nhi aayi C but aapka bataya hua ek ek word samjh aa raha hai and mja aa raha hai padhne me ❤ thank you so much mam 🎉😍

  • @helengrace2056
    @helengrace2056 Рік тому +9

    Iam addicted to your teaching method.. lovely n clearly

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

    If x and y are global variables, their values can be accessed and changed by any functions.
    But yes, passing address is imp as global variables causes linkage problem and if any bug the issue's debugging is tough.

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

    THANK YOU MAM
    FOR YOUR GREAT LECTURE

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

    Jabra fan ho gya hun mam aapke explanations ka ;

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

    You are a very good teacher of Computer Science.Your lectures should be got popularity

  • @bhavyagarg3289
    @bhavyagarg3289 5 місяців тому +1

    Mam i love your smile 😊 the way you smile on your examples

  • @lokeshspl9422
    @lokeshspl9422 5 місяців тому

    Yes mam I have noticed that error but your explanation is too good and super mam

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

    Yes and after use of fun() Function, that memory will release, that's why it is not printing x=7 and y=5;

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

    thank you mam it helps a lot like a lot

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

    Mam aap bhaut acchi hai aur padhati bhi bhaut acchi hai ❤❤

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

    Ma'am, there's no word how your datastructure videos are helping me😊
    Happy Teachers Day mam
    ❤️
    My sweet and cutest mam 💖🥰

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

    you are the best teacher take love from hearts

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

    congratulation for 1 milion.

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

    Awesome 👌 lecture 👌 very simplified form.
    Beautiful🌹 ma'am🌹 also.

  • @preetsahota7166
    @preetsahota7166 2 роки тому +4

    Ur knowledge is really beneficial for me and I enjoy your lessons in English as well

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

    can you please make videos about structure, files, and streams.

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

    Well explained madam we really lern from your teaching, than my college life✍️❤

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

    I love your classes madem I am studying diploma 1st year computers,A.A.N.M&V.V.R.S.R POLYTECHNIC,GUDLAVALLERU,Andhra Pradesh

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

      Loop concept ua-cam.com/video/82-yfFDVHe0/v-deo.html

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

      So

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

      From where

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

    Plz reply me that which laptop and app you used for coding

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

    This hairstyle suits you the most♥️♥️💯💯😍

  • @unique9738
    @unique9738 Рік тому +4

    Video start 2:25 thanks me later

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

    I always understand the lecture if beautiful and cute teacher teach us like u mam😁❤

  • @ketanshiyal2474
    @ketanshiyal2474 2 роки тому +16

    Mam please continue DBMS SQL ☺️

  • @saireddy3628
    @saireddy3628 11 місяців тому

    thank you mam your explation is very helpful

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

    Best teaching 🙏

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

    Mam thanks for your efforts

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

    14:16 said baby🤩

  • @user-hr6kx6ff8l
    @user-hr6kx6ff8l 5 місяців тому +1

    For Mams vedio voice is not required 😊😊

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

    Thank you Jenny for making me understand of how Not to use incorrect functions and use appropriate ones with clarity.

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

    TQ mam your are a good teacher
    To teach in simple way

  • @SatyamSingh-ti2uk
    @SatyamSingh-ti2uk Рік тому +1

    Ma'am you are "Beauty with Brain".

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

    Happy teacher's day ma'am❤️❤️❤️.

  • @Ajay-jg2fw
    @Ajay-jg2fw 2 роки тому

    Ma'am your teaching bindas

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

    madam apka sab sahi pr bar bar unacadmy ka sun ke paak gya hu me

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

    Happy teacher's day ma'am ... ❤️

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

    then what is call by function using then we can use only pf,without using of call by value???

  • @RockstarYahoo-wv1un
    @RockstarYahoo-wv1un 11 місяців тому

    I have one doubt that in defination you and declaration of function you declared two pointers but you should not intialised so how the pointers point to x and y variables mam

  • @harishkumar-sf9km
    @harishkumar-sf9km Рік тому

    Good communication jenny

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

    Thankyou so much ma'am!

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

    DBMS AND SQL WOULD BE A GREAT HELP

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

    Well done maam..

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

    Happy Teachers day Miss.. I am good in data structure and design and algorithm because of you..

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

      Loop concept ua-cam.com/video/82-yfFDVHe0/v-deo.html

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

    Awesome 👍

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

    Ma'am I want to chhose a language for project in my engineering carrier please suggest 😢

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

    Happiest Teacher's Day Ma'am 😊🌹✨

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

    Hai mam, thank you mam.

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

    Thank you so much mam☺️☺️☺️

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

    there is always a smile on mam's face

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

    If we do swapping in fun definition part then why valu changed in main function.

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

    Happy teachers day ma'am🙏😊🎂💐🍰🍫

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

    HAPPY TEACHERS DAY MAM

  • @user-bf9hj2qt8z
    @user-bf9hj2qt8z 2 місяці тому

    but that 16 and 17th line showing x and y are redeclared!!error...

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

    Maza aagaya....tq mam

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

    Thank you madam :)

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

    Happy teacher's day mam actually I am studying inter but I love your way of teaching mam

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

      Loop concept ua-cam.com/video/82-yfFDVHe0/v-deo.html

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

    The way she callls baby 🙂❤️‍🔥

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

    Big fan of you mam.

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

    Thank you

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

    Happy Teacher's Day mam ❤😊

  • @biswadipmaity4764
    @biswadipmaity4764 2 роки тому +4

    Happy Teachers Day Ma'am ✨🤍🥰...
    Your effort and hard work really help every middle class and poor family students who can not buy more books or going to tution.
    It's dream comes true watching your video and learn from it, 🤍 U ma'am

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

    Mam u r explaining with the example help me alot to understand easily the topic😊😊

  • @over-nightowl3179
    @over-nightowl3179 2 роки тому

    mam you explain too good

  • @user-nl1wt3ux1c
    @user-nl1wt3ux1c Місяць тому

    Thanks mam😊

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

    thankyou ma'am 🙏

  • @rinkyrb9625
    @rinkyrb9625 11 місяців тому

    Nice explanation mam 🥰❤

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

    thank you mamthank

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

    Happy teachers day mam🌹❣️🎉🎂🌷

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

    Thank you so much mam

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

    Super mam great u r

  • @surendhar.v4952
    @surendhar.v4952 2 роки тому +1

    Happy teacher's day mam

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

    Happy teacher's day Mam