Call By Value & Call By Reference in C
Вставка
- Опубліковано 7 жов 2018
- C Programming & Data Structures: Call By Value & Call By Reference in C
Topics discussed:
1) Call by value method of passing arguments to a function.
2) Call by reference method of passing arguments to a function.
3) Example of the call by value method of passing the arguments.
4) Example of the call by reference method of passing the arguments.
C Programming Lectures: goo.gl/7Eh2SS
Follow Neso Academy on Instagram: @nesoacademy(bit.ly/2XP63OE)
Follow me on Instagram: @jaspreetedu(bit.ly/2YX26E5)
Contribute: www.nesoacademy.org/donate
Memberships: bit.ly/2U7YSPI
Books: www.nesoacademy.org/recommende...
Website ► www.nesoacademy.org/
Forum ► forum.nesoacademy.org/
Facebook ► goo.gl/Nt0PmB
Twitter ► / nesoacademy
Music:
Axol x Alex Skrindo - You [NCS Release]
#CProgrammingByNeso #CProgramming #CallByValue #CallByReference
This dude got me to understand this in 8 minutes, while my CS Teacher didn't manage to teach me this in weeks.
Seriously. 👍
Why University teacher are so bad at teaching?😑
@@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.
@@tasmiajannat576 Yup they r so bad at these essential concepts😞😞. Bt this guy made us satisfied with his explanation ryt..
@@tasmiajannat576 they are not, they just dont care.
praise these indian tech channel!!!!
amen brother
@@antons2473 what does that mean ?
@@antons2473 jai shree ram🔥🔥
would love if yoou donate some amount.
Is This teacher from india???? What is his name????
1hr clg lecture covered in just 8.33 minutes with great explanation 🔥
Same bro
8min 33sec is actually 8.55 minutes.
True bro 💯🙌🏻
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.
Bro There is diffence b/w offline live class and online pre-recorded powerpoint lecture.
I forgot the concept and you reminded me in few minutes. Accent and the way of explanation is too good and calm. 👏👏
clear voice and to the point presentation with a dark background .i love it!!!
Ri8 👍
मस्त
Dark background 👌
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.❤️
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!
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!!!
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!! ❤❤
Hi brother,
I can't express my words on your teaching.
Clear, clarity and super explanation...
Thank you Brother
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.
Great way of teaching!!.. remembered the whole concept in a few minutes.
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!
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.
On a scale of 1 to 10. You're An 11. 👏👏
Impossible to express in words. Thank You So Much....ishwar tumcha bhala karo🙏♥️
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.
Accurate and concise explanation. No lecturer has ever done this before. Good job
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!!
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
Much better than many paid courses and reading books ty :)
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 🙏🙏👏👏
This is one of the most searched topic in C programming after Pointers.
The best and the most clear explanation ever !!!
Amazing! Much much much better than college teachers out there!!!
WHAT A TUTORIAL!!!! such a simple and great way to teach me this! well done!
This channel is just pure gold.
100% clear explanation....thank you so much
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.
This was Gold. Thanks Much
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 ! 🌟🌟🌟🌟🌟🌟🌟🌟🌟🌟
So calm voice!
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😆👌👌
Really appreciate your works.
Its really interesting to learn through your channel cuz of your fluency on explaining these things with details.
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
Thank you for making this content rich presentation
Lot's of love to your channel sir.
Best channel I ever came across 👍👍👍.
This channel needs a great applauds and appreciations ❤️.🙏
This video is basically teaching people C programming in 8 minutes and 33 seconds. Thanks!
The way he explain each and every point simply great🙌
1-2 hour class in just 8minutes.
Thanks for this time saving and simple explanation
u teach way better than Jenny's lecture thank u
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
One can never appreciate neso academy in just few words✨
You and your method of teaching both are great Sir. .
Thanks
Best video I have ever seen detailed explanation.. It made my concepts clear.
great explaination. Thank you.
This lecture is directly stored in my brain 🧠 address ❤
This is great .... explanation I retrieved all concepts again by watching this video lecture.
Amazing and lucid explanation.
Thanks a ton,sir!!
excelent work thanks !!!!
Very clear explanation and neat and clean accent of english speaking. Even the presentation was very good. To the point explanation is really fantastic.
Great, You have explained it clearly, Sir. Thank you.
Very informative, easy to understand. Thank you very much!
Thank you so much! Helped a tons!
Been searching alot to clear this doubt and finally my doubt is clear now. Thank you
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!!
That is the best description I have ever come across!!! CHEERS!!!! Thank you so much....
True ☺
Thank you sir for your explanation.
U r too good....really huge respect for u....u make the things so simple💝
You make me understand this very quickly thank you sir..☺️☺️
Thanks a billion sir really helped me 4 my 11 standard finals
Everything is crystal clear....thanku so much
Really a great presentation. Thanks a lot, Dear Sir
Great respect helped me to revise my concepts.
this is the best video I ever have seen:) kudos to the efforts.
amazing teaching sir!!! you teach way better than our college professors
I am speechless here......its amazing presentation and method of teaching
Thanks dude, I spent days searching on this topic and I didn't understand this concept properly. You taught this to me in just 10 minutes.
Thank you so much for this explanation.
This channel is so much AWESOME.
thanks to you, now i can see why we do pass an address to the scanf function
Amazing video. The explanation was crystal clear.
Thank you sir. Nice presentation
Unbelievable explanation thank you so much
Beautifully and simply explained.
Thank you so much it clarified my doubts
Well explained, thank you!
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
Thank you! very nice presentation.
Very Well and clear explanation...👏
Thank you so much sir...
Very well explained clearly ,thank you.
very useful ,thank you
great explanation, thank you!
wonderfully explained.Got a very clear idea of the concept 🤩
Best video in youtube for Call By Value & Call By Reference differenece
So precisely explained 👏 👌...awesome !!!
U explain so well man...loved it
pointer thought in 8 min. just wow content ~ Thank you
Jo chahiye tha whi mila point to point thankww so much sir👍🏻
Such a great explanation...
Ever I seen...
Thanku so much sir..
Now I not need to move any where...
I found our destination ❤
Best c and c++ teacher ❤️ like love from India. ✌️❤️
for the bottom of my heart, thank you
Really helped.
Thank you
Excellent explaination .
fantastic explaination!
Thank you for your afforts sir
Amazing this is the right way to explain, amazing teaching.
Very well explained.. thankyou
Excellent presentation ...Now I got clearly understood
in love with is voice and teaching thanku dude