Call By Value & Call By Reference in C

Поделиться
HTML-код
  • Опубликовано: 24 янв 2025

Комментарии • 755

  • @davidmotz8963
    @davidmotz8963 4 года назад +1730

    This dude got me to understand this in 8 minutes, while my CS Teacher didn't manage to teach me this in weeks.

    • @shivisingh7585
      @shivisingh7585 4 года назад +19

      Seriously. 👍

    • @tasmiajannat576
      @tasmiajannat576 4 года назад +71

      Why University teacher are so bad at teaching?😑

    • @nityodaytekchandani701
      @nityodaytekchandani701 4 года назад +23

      @@brandonwisco Unfortunately, it's happening in my university also. Basically professor took 5 minutes to explain this, which we obviously didn't understand, then in every lecture he gives some questions and answer (in word document) which we copy and run. That's it.

    • @nithish_raina
      @nithish_raina 4 года назад +9

      @@tasmiajannat576 Yup they r so bad at these essential concepts😞😞. Bt this guy made us satisfied with his explanation ryt..

    • @prashantpanwar8392
      @prashantpanwar8392 4 года назад +11

      @@tasmiajannat576 they are not, they just dont care.

  • @shreedharchavan7033
    @shreedharchavan7033 3 года назад +520

    1hr clg lecture covered in just 8.33 minutes with great explanation 🔥

    • @elavarasan.mjagan3354
      @elavarasan.mjagan3354 2 года назад +2

      Same bro

    • @Anonymous-om7sq
      @Anonymous-om7sq 2 года назад +13

      8min 33sec is actually 8.55 minutes.

    • @darpanpaliwal4906
      @darpanpaliwal4906 Год назад +2

      True bro 💯🙌🏻

    • @rajankumarbaniya
      @rajankumarbaniya Год назад +1

      Don't compare your in person 1hr class with 9min youtube video, It is no doubt good for revision but to get detailed info on that particular topic, your college teacher is far better.

    • @m_e_h_u_l737
      @m_e_h_u_l737 11 месяцев назад +1

      Bro There is diffence b/w offline live class and online pre-recorded powerpoint lecture.

  • @banvideogames
    @banvideogames 5 лет назад +566

    praise these indian tech channel!!!!

  • @SandipBhattacharya
    @SandipBhattacharya 2 года назад +29

    Thank you for uploading this video. Let me briefly add by saying, there are two most popular ways to call functions for parameter passing.
    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. By default, C programming uses call by value to pass parameters.
    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 it helps!

  • @ayshauzmaja6927
    @ayshauzmaja6927 5 лет назад +265

    I forgot the concept and you reminded me in few minutes. Accent and the way of explanation is too good and calm. 👏👏

  • @blueSurfer
    @blueSurfer 5 лет назад +342

    clear voice and to the point presentation with a dark background .i love it!!!

  • @mdshahporan9069
    @mdshahporan9069 3 года назад +43

    I am a Mechanical major's student. After watching these videos, I am not only understanding what pointer is, I can guess what is going to happen inside the computer. This realization pushing me to the world of computer science. Thank you man.❤️

  • @stever3886
    @stever3886 4 года назад +29

    This is by far the best detail, WITH graphical description of what is going on. I watched this several times and this tutorial answers MANY questions I have had in the past. There is no “hand waving or smoke/ mirrors with this. Excellent job! Good pace and understandable.

  • @newname8276
    @newname8276 Год назад +15

    Wonderful explanation!! My college professor couldn't teach me this with 4 to 5 classes, but you could clear it all in 8 minutes!! Hats off, Sir!! ❤❤

  • @sathishbatta6781
    @sathishbatta6781 5 лет назад +61

    Hi brother,
    I can't express my words on your teaching.
    Clear, clarity and super explanation...
    Thank you Brother

  • @nataliew.4531
    @nataliew.4531 3 года назад +20

    I swear I am in tears my professor tried to teach me this for many weeks and I never got it and now it sounds so simple comming from you!!! Thank you!!!

    • @nirvaan5837
      @nirvaan5837 Месяц назад

      mai abhi bhi nahi samjha

    • @OVERRATED_247
      @OVERRATED_247 Месяц назад

      Today's is my practical I know all the theory but lags in practical writing😢😢​@@nirvaan5837

  • @spidysensei21
    @spidysensei21 4 года назад +29

    Great way of teaching!!.. remembered the whole concept in a few minutes.

  • @mikasaackerman1863
    @mikasaackerman1863 10 месяцев назад +1

    this is what i was trying to understand for one and a half year, as my professor greatly failed of making it understandable. i never realized it was such an easy subject and was always avoiding to really grasp it. i may as well say this video has changed my life because it actually made me realize that i can understand things from proper resources and there's no need to run from those sort of things. that i am making it such a big deal when i can understand it within minutes. nothing's that hard as it first seems to be. Thank you much for this video.

  • @krishpatil9609
    @krishpatil9609 4 года назад +9

    Impossible to express in words. Thank You So Much....ishwar tumcha bhala karo🙏♥️

  • @karenjames7538
    @karenjames7538 Год назад +6

    Accurate and concise explanation. No lecturer has ever done this before. Good job

  • @worlddream3704
    @worlddream3704 4 года назад +14

    You are the best
    It is viewers luck to have you,imagine what happens if neso is not there?
    I can't express in words how your channel is improving our standards.
    Hats off.

  • @jagannathanav5108
    @jagannathanav5108 3 года назад +10

    In short, when you pass a variables (say x,y) to a function , the function creates memory locations (local x and local y) which store the same value , but are not same as x and y. Therefore this does'nt affect the values of x and y, this is called as pass by value. When you pass the memory location of x and y itself, the function will change the memory location's value ,thereby affecting the variables. this is called pass by reference

  • @Bobbel888
    @Bobbel888 2 года назад +2

    3:31 The confusion started, when Kernigan & Ritchie declared addresses to be "values" (probably for washing their hands of preceding programming languages). Think in the context of C++, where references are formally defined and are the same as dereferenced pointers, one might finally find the semantics of "call by reference" in C. This is well done here ! 🌟🌟🌟🌟🌟🌟🌟🌟🌟🌟

  • @WordsReality
    @WordsReality 4 года назад +7

    I don't normally leave comments but this video was truly helpful. I was stressing about this topic until I found this video, you're a great teacher, thanks!!

  • @rhearajput3839
    @rhearajput3839 4 года назад +28

    Thank you so much! I never understood it, even when it was taught in Java in 10th std and now when it's being taught in C++ in 12th! You're a life saver!

  • @matousfamera6700
    @matousfamera6700 4 года назад +24

    Thank you, man. Your presentation are so understandable. I learn more from your short videos in English than from long lectures in my own language.

  • @akshayagashe
    @akshayagashe 5 лет назад +46

    That is the best description I have ever come across!!! CHEERS!!!! Thank you so much....

  • @bhavya2301
    @bhavya2301 4 года назад +13

    On a scale of 1 to 10. You're An 11. 👏👏

  • @vik0_052
    @vik0_052 2 года назад +2

    instead of hiring professors who are incoherent and lack the knowledge, I wish they show your videos and use peer to peer model for learning in all colleges. Your videos are amazing, the simple language and effective communication used in this video 🙏🙏👏👏

  • @lorenzobracciale4417
    @lorenzobracciale4417 8 месяцев назад +1

    This channel is just pure gold.

  • @sarvanisriharshitakandikon9455
    @sarvanisriharshitakandikon9455 4 года назад +4

    Very clear explanation and neat and clean accent of english speaking. Even the presentation was very good. To the point explanation is really fantastic.

  • @sonakshimishra.821
    @sonakshimishra.821 4 года назад +21

    I was terrified by this topic, since everyone will say, "it's quite complicated, let me try though." But the way you've taught it, it's absolutely clear and I am ready to teach them for sure. :D Thank You so much Neso Academy. Your contents never disappoint. Love this channel. ❤

    • @atharva808
      @atharva808 3 года назад

      yess .... so i think we can support them by donating some amount in their given link .. I think they deserve it ...

    • @shadabshaikh5802
      @shadabshaikh5802 3 года назад

      So good this topic will support the neso academy

  • @shaik07
    @shaik07 2 года назад +1

    1-2 hour class in just 8minutes.
    Thanks for this time saving and simple explanation

  • @ramankumar41
    @ramankumar41 3 года назад +5

    The best and the most clear explanation ever !!!

  • @U2raj7
    @U2raj7 4 года назад +4

    Lot's of love to your channel sir.
    Best channel I ever came across 👍👍👍.
    This channel needs a great applauds and appreciations ❤️.🙏

  • @SurajRajput-jb9nj
    @SurajRajput-jb9nj 3 года назад +4

    I have gone through this video when i was in college to learn this topic ,after that i watched this video for exams, again i watched this for another subject ,and now i am watching this as my interview preparations😆👌👌

  • @x_tar3141
    @x_tar3141 Месяц назад

    Guys it took me so much time understanding the pass by value I spend almost 4 hours even after watching this video you can just run this code to understand it:
    Pass value it simple it means that int num is sending just a copy of itself toward the funtions "value" and the x = 20; is just changing the copy of that and it changes it from num = 10 to num = 20 but it will only happend inside the function body it has no effect inside the main the value of num remains 10 only the copy is changed.
    void Value(int x) { // 'x' is a copy of the argument passed

    cout

  • @amazing5749
    @amazing5749 3 месяца назад +1

    indian youtube channels should be our teachers , what an explanation superb bro keep it up

  • @JavaliveStudios
    @JavaliveStudios Год назад +1

    00:02 This video explains the concepts of Call By Value and Call By Reference in C
    00:57 Call By Value & Call By Reference in C
    01:56 Difference between call by value and call by reference
    04:11 Understanding Call By Value & Call By Reference in C
    04:46 Address- They Give Who Will Request
    05:32 Understanding the concept of Call By Value and Call By Reference
    06:28 Call By Value & Call By Reference in C
    07:32 Understanding the difference between call by value and call by reference in C
    Crafted by Merlin AI.

  • @asdgqgqwe
    @asdgqgqwe 3 года назад

    This video is basically teaching people C programming in 8 minutes and 33 seconds. Thanks!

  • @hp007-ld4mh
    @hp007-ld4mh 10 месяцев назад +8

    much better than paid lectures of hours.........

  • @pradeepramola2295
    @pradeepramola2295 6 лет назад +3

    Much better than many paid courses and reading books ty :)

  • @mahimamiss7229
    @mahimamiss7229 5 лет назад +3

    You and your method of teaching both are great Sir. .
    Thanks

  • @pravincodebyte
    @pravincodebyte Год назад +3

    This lecture is directly stored in my brain 🧠 address ❤

  • @Mr.divyeshshukla
    @Mr.divyeshshukla 3 года назад +6

    One can never appreciate neso academy in just few words✨

  • @atomicthingss
    @atomicthingss Год назад

    this man make me understand the topic in 8 min and in other hand my teacher who dont know the concepts and making us to do seminar , this shows the difference btw good teacher and a teacher

  • @Krithikaa18
    @Krithikaa18 4 года назад +5

    100% clear explanation....thank you so much

  • @AyushKumar-ju9jj
    @AyushKumar-ju9jj 3 года назад +2

    Amazing! Much much much better than college teachers out there!!!

  • @vinaygurjar8292
    @vinaygurjar8292 2 года назад +1

    Best explanation on internet...

  • @shivanshsethmusic
    @shivanshsethmusic Год назад

    This is called real teaching to the point video thanks🙌🙌

  • @NehaSharma_nsds
    @NehaSharma_nsds 9 месяцев назад +1

    Amazing sir 😊😊❤ thank you so much

  • @tayyab.sheikh
    @tayyab.sheikh Год назад +2

    This is one of the most searched topic in C programming after Pointers.

  • @anjana6898
    @anjana6898 Месяц назад

    now that is called the real knowledge, great and simple way of explaining 🙏🙏 thankyou sir

  • @swatigadekar4671
    @swatigadekar4671 4 года назад +2

    Best video I have ever seen detailed explanation.. It made my concepts clear.

  • @rajan9064
    @rajan9064 4 года назад +3

    amazing teaching sir!!! you teach way better than our college professors

  • @satyajitmanna8501
    @satyajitmanna8501 2 года назад

    Best c and c++ teacher ❤️ like love from India. ✌️❤️

  • @Anju10-16
    @Anju10-16 2 года назад +2

    You make me understand this very quickly thank you sir..☺️☺️

  • @vinaychavan4364
    @vinaychavan4364 4 года назад +6

    This was Gold. Thanks Much

  • @shadattagala1429
    @shadattagala1429 4 года назад +2

    Your teaching way is too good 😊 , your channel is very beneficial for all. Very nice sir 👌👌👌👌👌👌.

  • @odiaupdateyt
    @odiaupdateyt 2 года назад

    I found this is one of the best yt channel where i clearing my all fundamental doubt with low time..
    Please continue this type of teachings style with basic fundamentals clear

  • @sanikapatil3012
    @sanikapatil3012 Год назад +1

    Really great explaination ❤

  • @joshua_dlima
    @joshua_dlima 4 года назад +7

    Thanks a billion sir really helped me 4 my 11 standard finals

  • @anmolranjan7134
    @anmolranjan7134 Год назад

    Such a great explanation...
    Ever I seen...
    Thanku so much sir..
    Now I not need to move any where...
    I found our destination ❤

  • @sakina.152
    @sakina.152 2 года назад

    Amazing ...thank you sir....because of you....I cleared my every doubts related to this topic...😊😊😊🙏🙏🙏🙏 Your explanation is also excellent....very calm and clear words...

  • @kowsikav4826
    @kowsikav4826 2 года назад +1

    Very Well and clear explanation...👏
    Thank you so much sir...

  • @scottzorr
    @scottzorr 3 года назад +1

    WHAT A TUTORIAL!!!! such a simple and great way to teach me this! well done!

  • @ashimghoshfm
    @ashimghoshfm 10 месяцев назад +1

    Really a great presentation. Thanks a lot, Dear Sir

  • @shwetakapse8510
    @shwetakapse8510 3 года назад +1

    The way he explain each and every point simply great🙌

  • @fatimanoor3056
    @fatimanoor3056 3 года назад

    The best and professional instructor. Thank u very much sir. I am from Pakistan

  • @ItzPrajwal4444
    @ItzPrajwal4444 2 года назад +1

    i watched many videos but can't understand.....after watching this....i got it in 8 minutes....great explanatation sir....

  • @ManzoorHussain-gz1vk
    @ManzoorHussain-gz1vk 5 лет назад +6

    Thank you, sir, I have no words to praise your way of teaching.
    After watching your videos I love computer science.
    Stay blessed.

  • @nithishnagendra
    @nithishnagendra 2 года назад +14

    u teach way better than Jenny's lecture thank u

  • @umehabiba3618
    @umehabiba3618 3 года назад

    I am speechless here......its amazing presentation and method of teaching

  • @amankant9734
    @amankant9734 4 года назад +4

    this is the best video I ever have seen:) kudos to the efforts.

  • @Feastographyy
    @Feastographyy 3 года назад +1

    Been searching alot to clear this doubt and finally my doubt is clear now. Thank you

  • @kirti2600
    @kirti2600 3 года назад +1

    So precisely explained 👏 👌...awesome !!!

  • @ganavin3423
    @ganavin3423 5 лет назад +1

    You are doing the great job .... it's the best explanation for this concept.....and I ever seen like this...... I liked the way u explained ... it's so much easy for the begginers to understand the concept.

  • @radhikapal250
    @radhikapal250 6 месяцев назад

    You deserve more appreciation sir🙏

  • @suhanasharma7609
    @suhanasharma7609 5 лет назад +3

    This was really very helpful for my examination.My doubts are all clear now.

    • @Ankit-mq6em
      @Ankit-mq6em 5 лет назад +1

      Suhana Sharma he is great teacher

  • @ChayK11
    @ChayK11 3 года назад +1

    Hey,thank u so much man!!!!!!!
    I was trying to understand this functions topic for weeks and couldn't get even after watching it on many channels, but this Playlist is just incredible and very detailed...
    Awesome!!

  • @abhishekdubey9920
    @abhishekdubey9920 4 года назад +3

    Thank you for making this content rich presentation

  • @swatim114
    @swatim114 Год назад

    sir thankyou! i was not able to get to know loops or functions neither in my college nor any videos im glad i found ur channel

  • @SakshinA2
    @SakshinA2 4 года назад +4

    So calm voice!

  • @vaishnavinikam3659
    @vaishnavinikam3659 2 месяца назад +1

    Thankuuuu...so much ❣️❣️

  • @rajukani100
    @rajukani100 Год назад

    pointer thought in 8 min. just wow content ~ Thank you

  • @KanchanThakur-zu8qd
    @KanchanThakur-zu8qd 3 месяца назад

    Thanku so much sir❤❤❤❤❤ love from India

  • @pragatichauhan7274
    @pragatichauhan7274 4 года назад

    Best video in youtube for Call By Value & Call By Reference differenece

  • @__-kr4di
    @__-kr4di 4 месяца назад +22

    2024 students attendance ❤

  • @Arjun-u3d6m
    @Arjun-u3d6m 11 месяцев назад

    i think you were legend man, your teaching making me to learn more 💯

  • @samsons8279
    @samsons8279 3 года назад

    Wow !! 🤩🤩
    Was tired of reading text book; but unable to understand... !! 😶🥺😢
    you just finished it in 8½ minutes... 🥰
    Thank you so much... !! 💖💖

  • @IronMan_2.1
    @IronMan_2.1 4 года назад +6

    Pro tip: if you'll watch Neso Academy's video for Programming Languages for each sections after watching same sections from MySirG (Saurabh Shukla Sir)'s channel, you'll understand even more better, make notes out of it !!
    And yes, Neso Academy is really awesome, lot's of respect sir !!
    I wish I had watched it in my 2nd sem !!! Now I'm in 8th 😢

  • @vipuldhanawade8200
    @vipuldhanawade8200 Год назад

    thank you sir..lovely explainations i always get on neso academy💙💙

  • @ShreyaRaut-cr7ux
    @ShreyaRaut-cr7ux 3 года назад

    Very nice teaching sir, this topic is easy to understand because of yours good teaching ..thank you..it is really helpful

  • @madhu7198
    @madhu7198 2 года назад

    This is called perfect and clear explanation💯✅

  • @Ankit-mu2ce
    @Ankit-mu2ce 4 года назад

    Everything is crystal clear....thanku so much

  • @dewanshdwivedi5440
    @dewanshdwivedi5440 3 года назад +1

    Sir u are far more better than code with harry "chadha rakha hai sale ko " apne choti se chotu chije ek dum clear samjhai hai

  • @sahil2pradhan
    @sahil2pradhan 2 года назад +1

    Great respect helped me to revise my concepts.

  • @yelagandulavenkataramanaye9107
    @yelagandulavenkataramanaye9107 5 лет назад +8

    You nailed it bro 👌👌
    Clear cut explaination of two confusing topics 😃👍
    RIP for those who disliked the video 😞

  • @atharva808
    @atharva808 3 года назад

    got to understand this concept only because of you . thank you thank you thank you 🙏🙏🙏🙏🙏

  • @angelevergreen999
    @angelevergreen999 2 года назад +1

    Really appreciate your works.
    Its really interesting to learn through your channel cuz of your fluency on explaining these things with details.

  • @unknownworld1925
    @unknownworld1925 4 года назад +2

    🤩 easily explained , thanks 😊 this make me understood this topic very clearly 😄😁

  • @sedex443
    @sedex443 4 года назад +2

    Totally nailed it, clearest explanation I've found on this topic. Thank you very much

    • @sanmatipol3201
      @sanmatipol3201 4 года назад

      Do you know how to find the video series of this video
      I can't find series
      Please tell me if you know 🙏

    • @suprithsk9595
      @suprithsk9595 4 года назад

      @@sanmatipol3201 ruclips.net/p/PLBlnK6fEyqRggZZgYpPMUxdY1CYkZtARR

  • @gojo7576
    @gojo7576 2 года назад

    THIS IS TOO GOOD. TOTALLY IN LOVE W NESO ACADEMY

  • @MrChinmay916
    @MrChinmay916 3 года назад +1

    Great, You have explained it clearly, Sir. Thank you.

  • @muhammadmushfiqurrahman1653
    @muhammadmushfiqurrahman1653 3 года назад

    This channel is so much AWESOME.