Pass by Value | Pass by Reference | Pass by Address in C++ Programming

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

КОМЕНТАРІ • 347

  • @SimpleSnippets
    @SimpleSnippets  5 років тому +45

    Hey Guys, if you want more such tech educational videos on this channel then please support me by subscribing to this channel & also share it with your friends as it helps me create more content just for you ✌

    • @metal0-153
      @metal0-153 3 роки тому

      @Ryker Marcelo give any authentic prove of the website you mentioned. Maybe it is just to make money.

  • @MrXenon-hn7ju
    @MrXenon-hn7ju 3 роки тому +49

    You've explained what all my professors and textbooks could not! You are amazing, when I graduate in a few years, I will pay you back for everything you have done for me, and all of us struggling with the way our universities/colleges have fucked us.

  • @paritosh4643
    @paritosh4643 3 роки тому +25

    Best explanation I could find on UA-cam! The diagrams made it very clear.

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

      Thanks buddy😊 glad to know this from you✌️

  • @chetnagreesan8747
    @chetnagreesan8747 5 років тому +108

    if it isn't for you...i would have given up on c++.tysm bro...i will help your channel grow.

    • @SimpleSnippets
      @SimpleSnippets  5 років тому +27

      Wow, this has to be the best comment so far. 🤟😁😊
      I'm very very happy to hear this from you buddy. Glad to hear you didn't give up and I could contribute my knowledge😊
      Keep sharing the channel and videos ✌️ that'll be the best help and support 😁

  • @suyash.01
    @suyash.01 3 роки тому +15

    I had studied C++ over a year ago and had forgotten a lot till now. Your videos are coming in as super helpful at 2x speed to refresh my concepts! Thanks!

  • @pranavmittal5098
    @pranavmittal5098 Місяць тому +1

    00:07 Different ways to pass values in C++ functions
    01:53 Pass by Value involves copying values of variables during function call.
    03:44 Pass by value directly copies arguments into function
    05:39 Differentiate pass by value, pass by reference, and pass by address in C++
    07:37 Pass by Reference in C++
    09:30 Explaining pass by reference in C++ using an example
    11:31 Explaining how pass by reference works in C++
    13:17 Understanding Pass by Address in C++
    15:13 Passing address using pointers in C++ programming
    17:16 Understanding pass by address in C++
    19:02 Understanding pass by value, reference, and address in C++

  • @koenalamola7318
    @koenalamola7318 6 років тому +17

    Perfect...Thanks for the part of behind the seen also,it's so powerful!

    • @SimpleSnippets
      @SimpleSnippets  6 років тому +1

      Thank you so much buddy. Glad you liked this video. Please do share it with your friends too 😇

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

    The behind the scene explanations made it crystal clear for me as no other videos could explain it with such details. Thanks a ton 🙏

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

    This is one of the very few videos on this topic that are correct and accurate. Perfectly explained and well done.

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

      Glad it was helpful! please support Simple Snippets by sharing the channel & videos with your friends too. Thats the biggest help you can provide 😇

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

    this is the video which is highly recommended before learning Linked List

  • @MuhammadAbdulrehmanSalah-wp3rl
    @MuhammadAbdulrehmanSalah-wp3rl 6 місяців тому +1

    I honestly can't explain how thankful I am because of your videos. I usually read books of C++ at my libary and while I get a deep understanding of the stuff I am reading of, it also takes alot of time and to process through difficult topics, it super time consuming.
    Your videos allow me to get that basic idea of the topic I want to learn in some minutes and enable me to just focus on practice, implementing those topics instead of wasting time on learning it first and then implementing it.
    Function overloading, operator overloading, stack e.t.c all are very difficult concepts to me when I first read about them. But due to your videos, one by one was conquered. Thank you so much.

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

    this is the best video ever!!! I am in my second cs course and this concept wasn't clicking until I watched this vid.

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

    wonderful teaching , I understood it all in one video ( which is ultra rare ) .

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

    Bro trust me u r better than professors at iit

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

    Excellent after watching 2,3 videos i got it tysm

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

    I've watched a ton of videos on this but couldn't understand. Thanks a trillion for this! May you succeed in all your endeavors!

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

    First time I understood pass by address. Thanks a lot.

  • @rahulgandla1701
    @rahulgandla1701 4 роки тому +5

    I really had no idea before watching your videos that programming is so interesting.

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

      Im glad you have developed interest in programming!

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

    wow i am really blown away by the quality of your content, thank you so much!

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

    If you don't understand the fundamentals of Pointers and References, and the differences between the two, C++ will feel like absolute hell. On the other hand if you grasp the concept of pointers and references, and a bit of dereferencing as well, C++ becomes pretty understandable. Thank you for taking your time to make this video. I appreciate it.

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

    Great Sir I definitely recommended this video to everyone

  • @jimmymesa
    @jimmymesa 5 років тому +2

    I must say, you explain this topic extraordinarily well.

    • @SimpleSnippets
      @SimpleSnippets  5 років тому +1

      Thank you so much buddy 😁 so happy to hear this ✌️
      I try to make it as simple as possible 😊
      I would request you to please share this video with your friends too ✌️

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

    Thank you bro !!!!!!!!!! i understood each and everything !!!!!!
    Simple Snippets>>>>>university professor

  • @Balaji-wl9sg
    @Balaji-wl9sg Рік тому

    29/12/2022 Its been 5 years and the concepts are very crystal clear
    Thank you tanmay you are saving my life

  • @ajayraj4911
    @ajayraj4911 5 років тому +6

    yrr apka fan ho gya m
    mere pas coding blocks(which is paid) ke bhi lectures h
    but vo bhi itna acha nhi samjhate

    • @SimpleSnippets
      @SimpleSnippets  5 років тому

      Thank you bro. I am very happy to hear this from you. Please share this video with your other friends too 😇👍

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

    Thanks a lot, bhaiya! we need such concept clearing videos on UA-cam...

  • @TM-vh1qg
    @TM-vh1qg 3 роки тому +1

    perfect bruh thank you for saving my life.

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

    Was searching so much for this , and felt good to get the perfect video .

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

    I had difficulty in pass by reference Now I am pretty clear
    Thanks man

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

      Thats amazing to know Avishkar. Please support me by sharing the videos and our channel with your friends too. Thats the biggest help and support you can provide 😇

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

    First time i understood about pointers 😍

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

    brilliant, i was right for relying on youtube and skipping boring classes thanks

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

    You made learning amazing!

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

    such a good explanation man very niceee very good

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

    Exceptional Explanation❤

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

    you teach very well and have great communication skill

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

    You are GURU 🙇‍♂️

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

    Absolutely clear the concept... Thank u boss

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

    I cant express even in my words how I am thankful to you Tanmay bhaiya you literally hits this concept directly into my heart an mind I have seen 5-6 videos of that but not clear pass by value and pass by reference lastly I remembered it procedure but after watching this video I am totally able to visualize the things happened in backened.

  • @chhandchaughule3240
    @chhandchaughule3240 4 роки тому +6

    i would like to know that when do we use call by address and when call by reference?

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

    The explanation was very clear and I liked it. Thanks!

  • @bhavikasaluja5406
    @bhavikasaluja5406 5 років тому +2

    I have been searching this topic...long since.. i found urs.. such a relief to get through such a wondrful vedio❤ty sm

    • @SimpleSnippets
      @SimpleSnippets  5 років тому

      Most welcome anju 😊 I would request you to please share the video with your friends 😊

  • @thecongo8505
    @thecongo8505 5 років тому +2

    I have already commented on this video. But I want to comment ago. Bro, you are the best.

    • @SimpleSnippets
      @SimpleSnippets  5 років тому

      Hehe thank you so much buddy, this is the first time such thing has happened lol 😅

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

    Excellent explanation with the background visual!!
    Thank you

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

      Glad it helped! Please support me by sharing the videos and our channel with your friends too. Thats the biggest help and support you can provide 😇

    • @ayeshashaikh6407
      @ayeshashaikh6407 4 роки тому

      Simple Snippets I’ll make sure to do that :)

  • @Manoj_Jadhav.12
    @Manoj_Jadhav.12 2 роки тому

    thank you so much, i was struggling with these topics from days.

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

    Thank You very Much for such a Nice explanation .
    The way you have explained is very appreciative.

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

    Most underrated channel
    Words are less to show gratitude...
    Have no words
    Great channel ❤️

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

    bro you are best... 💜💜💜💜

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

    Best explaination! Thank you very much!

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

    brother thank you so so so so so so much for this , i was never able to understand this topic , i shall be forever grateful to you for this

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

    Best explainatory lectures thankew so much 🙏

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

    Best explanation ever !!
    thank you so much keep it up

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

    pass by address is very well picturised.... well done!! :)

    • @SimpleSnippets
      @SimpleSnippets  4 роки тому

      Thanks a lot Monika, glad to hear this from you.😊 Please support me by sharing the videos and our channel with your friends too. Thats the biggest help and support you can provide 😇

  • @KajalKumari-pn7db
    @KajalKumari-pn7db 2 роки тому +1

    Great explainer👍

  • @ShankKulkarni
    @ShankKulkarni 5 років тому +1

    great behind explanation of what is actually happening

    • @SimpleSnippets
      @SimpleSnippets  5 років тому +1

      Thank you so much buddy. I am glad to hear this from you. I would request you to please share the video with your friends too 😇
      Also I just saw your channel where you have quite a few cool vlogs. Liked the Muscat one ♥ Keep it up buddy :-)

    • @ShankKulkarni
      @ShankKulkarni 5 років тому +1

      Simple Snippets thanks a lot. ✌🏻

    • @SimpleSnippets
      @SimpleSnippets  5 років тому

      Most welcome 😊🤟

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

    Short and precise❤️

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

    Ha your the person in javascript tutorial in other channel I Iove it that very useful 👍

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

    what a perfect example !!

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

      Thanks buddy! Please share the videos with your friends if you want to genuinely support me & our channel!✌😇

  • @MonikaSharma-js9ff
    @MonikaSharma-js9ff 6 років тому +1

    Wow, sir you are very good at teaching c++.

    • @SimpleSnippets
      @SimpleSnippets  6 років тому

      Thank you so much Monika 😇 happy to hear this from you ✌️

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

    Bro , you are doing an amazing job by teaching us . I will share your videos with friends. Keep it up.

  • @nashhash4625
    @nashhash4625 6 років тому +4

    They are super cool bro.Thank you

    • @SimpleSnippets
      @SimpleSnippets  6 років тому

      +Nash Hash thank you so much buddy for such a wonderful and positive response. Glad to hear you liked the videos. Do share the videos with your friends and contacts ✌️
      I'll share your response on our Instagram page in the stories. Do follow it also!
      instagram.com/simplesnippets

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

    Loved the digital black board🖤

  • @sciencekidunya8397
    @sciencekidunya8397 5 років тому +1

    You are brilliant. I finally grab all these teasing concepts since the 1st semester. Thanks a ton.

    • @SimpleSnippets
      @SimpleSnippets  5 років тому +1

      Most welcome buddy, I am very happy to hear this from you. Please share these videos with your friends too 😇

  • @ibrahimg.4469
    @ibrahimg.4469 3 роки тому +1

    Thank you, God bless you. I got it totally

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

    Awesome brother
    U explain very nicely
    The idea of behind the scene actually explains us how a program works
    Ur even fast while writing code which doesn't bores us to watch ur video without skipping it
    Plz make more videos on programming
    Plz continue to explain us and help us

    • @SimpleSnippets
      @SimpleSnippets  4 роки тому

      Haha thats really nice to know buddy, hope you are liking the videos and gaining knowledge. Please so share the videos with your friends too, thats the biggest help and support 😇

  • @akshithtalks179
    @akshithtalks179 6 років тому +1

    Wow super explanation...I didn't understand of my teacher but yours I got it👌👌

    • @SimpleSnippets
      @SimpleSnippets  6 років тому +1

      Thank you so much buddy 🙏 means a lot to me and I'm happy that this was helpful to you. Do share it with your friends too, that'll be the best help and support 😊😇✌️

    • @akshithtalks179
      @akshithtalks179 6 років тому +1

      @@SimpleSnippets yaa sure

    • @SimpleSnippets
      @SimpleSnippets  6 років тому +1

      Thank you very much for the support 🙏

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

    This is the best tutorial, thanks.

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

    Awesome explanation bro
    Thank you soo much

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

    Amazing explanation bruhh , thanks a ton !!

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

    Greatly explained

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

    ty so much bro i was so frustrated. u made the topic so clear!!!!!!!!1

    • @SimpleSnippets
      @SimpleSnippets  4 роки тому

      That's great to know Srikanth, please do Subscribe to our channel as we have a lot tech educational content which you'll surely like. Also please do share our channel and videos with your friends too, that's the biggest help and support you can provide buddy ✌

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

    Thanks so much. The best explanation on the topic by far. Greatly appreciated.

    • @SimpleSnippets
      @SimpleSnippets  4 роки тому

      Most welcome buddy, glad to hear this from you. Please do share the videos with your friends too & definitely subscribe to our channel. Thats the biggest help and support you can provide ✌😇

  • @shivanshgahlaut7888
    @shivanshgahlaut7888 6 років тому +4

    Thank you bro for the tutorials... They are awesome

    • @SimpleSnippets
      @SimpleSnippets  6 років тому

      +Shivansh Gahlaut You're welcome buddy. Happy to hear your positive response. Do share the videos with your friends and contacts and keep sharing the knowledge and I'm really glad these videos helped you. ✌️

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

    Thank you very much,very well explained

  • @ដង្កូវសៀវភៅ
    @ដង្កូវសៀវភៅ 4 роки тому +1

    Thank you so much for clear explanation

    • @SimpleSnippets
      @SimpleSnippets  4 роки тому

      Glad it was helpful! Please support me by sharing the videos and our channel with your friends too. Thats the biggest help and support you can provide 😇

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

    Very clear instructions

    • @SimpleSnippets
      @SimpleSnippets  4 роки тому

      Thank you so much buddy🙏 Please support me by sharing the videos and our channel with your friends too. Thats the biggest help and support you can provide 😇

  • @Sanush07
    @Sanush07 4 роки тому

    Bro ur video is so helpfull i will help u by sharing ur videos and suggesting all friends to watch ur video. This is help from my side.

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

    YOU ARE THE BEST

  • @curiousjelly15
    @curiousjelly15 4 роки тому

    Very nicely explained😊👍👍

  • @radhikaravi1379
    @radhikaravi1379 5 років тому +3

    pointer explained well 😊 ty

    • @SimpleSnippets
      @SimpleSnippets  5 років тому +1

      Thanks Radhika 😊 super happy to hear this from you ✌️
      I would request you to please share the video with your friends too 😊

    • @radhikaravi1379
      @radhikaravi1379 5 років тому +1

      Would suggest as the best video to learn pointer concept..

    • @SimpleSnippets
      @SimpleSnippets  5 років тому

      Wow that'll be amazing Radhika 😊✌️
      Thank you for your support 😊

  • @sarmadnadeem_
    @sarmadnadeem_ 6 років тому +1

    So meaningful ... Quality content... Thank you man!

    • @SimpleSnippets
      @SimpleSnippets  6 років тому

      Thank you so much buddy. Please do share the video with your friends too 👍

  • @vipulrohilla1621
    @vipulrohilla1621 4 роки тому

    Thank You very much bro your videos are really helpful and your way of explaning the things is really excellent KEEP ROCKINGG....

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

    🤝 brilliant man , you always explain clearly with all means better than lecturers

  • @pardeeptijori8234
    @pardeeptijori8234 6 років тому +1

    Bro your way of teaching is osm coz your spoken eng is osm😄😄

    • @SimpleSnippets
      @SimpleSnippets  6 років тому

      Thank you so much Pardeep 😇✌️ really happy to hear this from you bro 😊
      I would request you to please share the video with your friends and contacts too 😇 that will be the best help ✌️

  • @AbhinavPrasad
    @AbhinavPrasad 5 років тому +1

    thanks, brother! your explanation was magnificent!

    • @SimpleSnippets
      @SimpleSnippets  5 років тому +1

      Most welcome bro 😊 I'm so happy to hear such a lovely feedback from you buddy 👍 please I would request you to share the videos with your friends too 😊

    • @AbhinavPrasad
      @AbhinavPrasad 5 років тому +1

      @@SimpleSnippets no prob man!

    • @SimpleSnippets
      @SimpleSnippets  5 років тому

      😊

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

    Excellent teaching

  • @mannatmahajan8799
    @mannatmahajan8799 5 років тому +1

    This is such an amazing video!!!!!

    • @SimpleSnippets
      @SimpleSnippets  5 років тому

      Thanks buddy 😊 I'm glad to hear this. Please do share the videos with your friends too ✌️

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

    Thank you so much. So so much. Liked and subbed

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

      Welcome to the Simple Snippets family buddy 😊

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

    HOLY SHIT GOD TUTORIAL

  • @421_prachigupta6
    @421_prachigupta6 4 роки тому

    Thank you so much for this amazing video

  • @francisDr4ke
    @francisDr4ke 5 років тому +1

    thank you, very nice explanation

    • @SimpleSnippets
      @SimpleSnippets  5 років тому +1

      Most welcome buddy. I'm glad you liked it. 🤟
      Please do share the video with your friends too 😊

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

    amazing teacher

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

    It's just awesomeeee

  • @anuhassan5596
    @anuhassan5596 6 років тому +3

    Thanks so much!! Incredibly useful and is going to help my programming so much in long run! I subbed so keep doing what you do!

    • @SimpleSnippets
      @SimpleSnippets  6 років тому

      +Anu Hassan thank you so much for such a positive response. Happy to know that you liked this video and yes definitely will keep on making many more informational video tutorials on the channel 😇
      Do follow our newly created Instagram page as well. I have featured your positive response on the insta stories ✌️😇
      www.instagram/simplesnippets

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

    Great video! I understood mostly everything. I only had a doubt in the last part.Can you just explain what are POINTERS exactly?

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

      I have separate video on pointers in C++ playlist

  • @utkarshkrishak5240
    @utkarshkrishak5240 6 років тому +1

    Bro your videos just made me clear my Technical round. Thank you so much ♥️

    • @SimpleSnippets
      @SimpleSnippets  6 років тому

      Thank you so much Utkarsh, I'm so glad to hear such a wonderful news from you ❤️ all the best buddy. Very happy for you 😇

    • @utkarshkrishak5240
      @utkarshkrishak5240 6 років тому

      Simple Snippets Thank u bro. Doing my best here 😀

  • @yahyarechaki9908
    @yahyarechaki9908 4 роки тому

    Thank you mate, this video was so useful for me to do my homework.

    • @SimpleSnippets
      @SimpleSnippets  4 роки тому

      Glad it helped. t would mean a lot if you could please share our channel and videos with your friends too ✌

  • @yogasanas
    @yogasanas 4 роки тому

    This video was enough for me to subscribe to your channel. Thanks Buddy.

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

    Very Much thanks!

    • @SimpleSnippets
      @SimpleSnippets  4 роки тому

      Thanks buddy, glad to hear this from you. Please do share the videos with your friends too & definitely subscribe to our channel. Thats the biggest help and support you can provide ✌😇

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

    U r really doing a great job man
    Loved the way u explaining 💯
    Tqs for this

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

      Thank you so much ya 😊 means a lot ✌️

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

    OMG this is the best explanation given! you have my sub and like :D