Call By Value & Call By Reference in C

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

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

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

    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 года назад +17

      Seriously. 👍

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

      Why University teacher are so bad at teaching?😑

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

      @@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 года назад +494

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

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

      Same bro

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

      8min 33sec is actually 8.55 minutes.

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

      True bro 💯🙌🏻

    • @rajankumarbaniya
      @rajankumarbaniya 10 месяцев назад +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 9 месяцев назад +1

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

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

    praise these indian tech channel!!!!

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

    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 лет назад +327

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

  • @SandipBhattacharya
    @SandipBhattacharya Год назад +19

    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!

  • @mdshahporan9069
    @mdshahporan9069 2 года назад +41

    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 3 года назад +27

    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.

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

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

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

    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 4 года назад +60

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

  • @jagannathanav5108
    @jagannathanav5108 2 года назад +9

    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

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

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

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

  • @mikasaackerman1863
    @mikasaackerman1863 8 месяцев назад +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.

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

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

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

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

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

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

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

    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.

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

  • @tayyab.sheikh
    @tayyab.sheikh 10 месяцев назад +3

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

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

    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.

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

    This channel is just pure gold.

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

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

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

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

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

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

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

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

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

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

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

    The best and the most clear explanation ever !!!

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

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

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

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

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

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

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

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

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

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

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

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

  • @nithishnagendra
    @nithishnagendra Год назад +13

    u teach way better than Jenny's lecture thank u

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

    Really a great presentation. Thanks a lot, Dear Sir

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

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

  • @atomicthingss
    @atomicthingss 10 месяцев назад

    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

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

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

  • @ManzoorHussain-gz1vk
    @ManzoorHussain-gz1vk 4 года назад +6

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

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

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

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

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

  • @codingrow
    @codingrow 11 месяцев назад +3

    This lecture is directly stored in my brain 🧠 address ❤

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

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

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

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

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

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

    Thank you for making this content rich presentation

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

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

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

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

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

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

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

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

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

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

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

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

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

    One can never appreciate neso academy in just few words✨

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

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

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

    I am really learning a lot from your tutorials and I learning C Programming. Can you please create like a playlist to group all the lessons for C? They seem to mixed up. Thank you.

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

      Never mind. I found a link provided for the C Programming lessons. Thank you once again.

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

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

    The way he explain each and every point simply great🙌

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

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

    This was Gold. Thanks Much

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

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

  • @sakina.152
    @sakina.152 Год назад

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

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

    thanks to you, now i can see why we do pass an address to the scanf function

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

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

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

    Great respect helped me to revise my concepts.

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

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

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

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

    bro bro ,one minute , where is the respect button bro
    u are the best out here

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

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

  • @dominikn.5940
    @dominikn.5940 4 года назад +1

    Very informative, easy to understand. Thank you very much!

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

    A very simple and understandable concept ❤️ I read a lot of books but I only understand by your lecture.. thank you soo much for saving my time.. May Allah bless you

  • @ChayK11
    @ChayK11 2 года назад +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!!

  • @vaishnavinikam3659
    @vaishnavinikam3659 День назад +1

    Thankuuuu...so much ❣️❣️

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

    came here 1 day before examination and understood completely thkyou

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

    Really helpful for CS students ,tq sm for wonderful presentation

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

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

  • @ganavin3423
    @ganavin3423 4 года назад +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.

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

    Sir your explanation for Call By Value & Call By Reference was amazing

  • @jamberkam282
    @jamberkam282 28 дней назад

    thanks bro very good explanation it clear my all doughts

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

    Thankyou brother for your outstanding video lectures ,this 8min
    Video clear my all doutbs thankyou

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

    I totally recommend ur C playlist to anyone who wanna learn basics to intermediate programming. It's very much to the point and beautifully explained

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

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

  • @motbharesubodh9507
    @motbharesubodh9507 4 года назад +1

    Thanks sir! You help me to revise the concept of call by reference as well as call by value.

  • @cleo25
    @cleo25 5 лет назад +45

    Good luck for all who attending interview or lab practical exams 😂

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

    This is great .... explanation I retrieved all concepts again by watching this video lecture.

  • @KenfackFuedjio
    @KenfackFuedjio 16 дней назад

    Can you please make a video on the following topics:
    Header files in c and their various functions.
    Preprocessors and macros
    File handling in c?
    And thanks for all what you've done its really helpful

  • @taesh375
    @taesh375 5 лет назад +7

    I forget the concept and u remind me in few minutes and your presentation is awesome Thank you
    keep it up upload videos on angular and java spring too.

  • @vegansynths7757
    @vegansynths7757 4 года назад +1

    This is the BEST explanation given. Super duper clear. Thank you so very much!!

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

    Really great explaination ❤

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

    Jo chahiye tha whi mila point to point thankww so much sir👍🏻

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

    Nicely Explained Thank You

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

    Amazing this is the right way to explain, amazing teaching.

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

    no words for this channel .. simply awesum your skills as well as way of teaching