56 - CALL BY VALUE & CALL BY REFERENCE (PARAMETER PASSING TECHNIQUES) - C PROGRAMMING
ฝัง
- เผยแพร่เมื่อ 3 ต.ค. 2024
- There are two methods to pass the parameters as arguments to functions
1) Call by Value
2) Call by Reference
In Call by Value both actual and formal parameters will have different memory locations and In Call by Reference both actual and formal parameters will share common memory location.
Sir you are great.....before watching your videos I was not knowing c programming and had no interest but now i feel interested in learning c language and I am very much familiar with it now ......sir you are really god to me.I respect you from the bottom of my heart.
Hi rihanshu
Thanks for your interest towards our channel and share my sessions with your friends and keep following our channel and don't forget to subscribe to our channel.
This series of videos make these concepts so clear! You're a TREMENDOUS teacher!!
Hi
Thanks for your support and interest towards our channel and share our channel with your friends. Keep following our channel.
🙌
Sir, God bless u .I mean it from the deepest part of my heart...😭❤👌
Thanks a million sir....ur videos are really helping me a lot to understand the exact basic
Super teching than by other TH-camrs tanq so much to you for clarifying my doubts you are doing a great job 😀
Sir I'm having mid and sem your videos are helping me a top keep going on sir all the best 😊
Sir you are one of the Excellent and finest teachers of the world
I can't thank you enough sir ❤, you are a savior.
Sir why don't you start this channel before 2016.....I passed out in the year 2016 ...n it's 2019 ...I know nothing about programming :(....now for teaching my siz...I found this channel and sir honestly speaking you are doing a wonderful help for the students ....thanku sir
Really great explanation. I got good picture of call by value and call by reference concept. Thank you very much for this video.
Sir , what an amazing teaching by you!
Ur explaining in such a way that it is easy to understand and we go to exam hall and directly write exam.... Tq soo much for vedios... I have already subscribed to ur channel..
Sir thank you so much, due to your videos I was confident in my interview and I got selected ❤️
Wow mahn
this video is exactly similar to gate2018 question.. you have cleared so many minds by this video.. keep going sir
hi prem
thanks for your interest towards our channel and watching my sessions.
Thank you very much sir ..
Your teaching skills are just amazing.
Well said sir superb . nice lecture able to understand .thank u so much sir . please give more videos sir like arrays strings pointers filehandling introduction to c operators all .ok sir thank u
your explanation
is so clear to us sir..
Thank you sir! God bless you for sharing your knowledge.
sir idont know call by reference and call by value after watching your video how to use this functions in c programing thank you sir . i like your videos thank you sir
great sir...! ur xplaination is simply amazing.keep on sharing ur knowledge.
Thank u sir
Wonderful teaching sir... U explained as simple as possible thank you sir..
Sir,your videos are very helpful and straight to the point...Keep up the goood work!!
hi sai
thanks for watching my sessions. Thanks for your interest and support towards our channel. Keep following our channel.
awesome lecture sir... u done a very good job..i have some doubts before watching ur's lecture video... like what are formal parameters... and what are actual parameters.. and don't have a clear idea about callingfunction and called function.. but after watching your lecture .. i am free from my all doubts... thank you sir...
hi srinivas
thanks for your interest towards our channel and share my sessions with
your friends and subscribe to our channel.Keep following our channel.
I understood the entire concept sir..really I am happy
Sir, your vedio was too too too helpful ..... thank u sir
Your'e the best Teacher ❤
Best videos ever. Your videos help me alot, Great job.
best video ever ...prepared me for my exam..subscribed already
hi sheehama
thanks for your interest towards our channel and share my sessions with your friends and subscribe to our channel.Keep following our channel.
sir tq u helped me a lot u r lectures are very good easy to understand
Best video on this topic ......
Sir... Am very grateful to u.. Thank u sir... Keep upload videos like this🤗❤️
3years after re--learning c programs with yours fine teaching
amazing sir , feeling really happy with ur explanation ! thank you!
hi naresh
thanks for your interest towards our channel and share my sessions with your friends and subscribe to our channel.
Great job sir.. very nice explaination👍
vary great teaching
whenever i get confused, your videos helps me like a kid learning abcd... thank you soo much sir, for the effort you put for us to make us understand the every corner of the concept.
i always love to help my juniors in their c and c++ problems, and whenever i stuck, your effort helps me alot to clear any doubts... i love to refer your tutorials to the needy people i know...
god bless you sir.
Why we initialize c=0
Thank you sir I understood the program. Your teaching superb sir👌👌👌👌🤘🤘🤘🤘👍👍
Explanation is simply super sir!
You are doing a great job sir....Thank you so much
hi darkhasa
thanks for your interest towards our channel and share my sessions with
your friends and subscribe to our channel.Keep following our channel.
Thanks a lot ... East or West U R the Best !!!
Thank u so much for sharing ur knowledge. It's really helpful!
You are amazing sir
Thank you. Your explanation was very thorough and easy to understand. What if the actual parameters in the function call look like this: split(str_to_split, int index, left, right) and the definition of the function looks like this split(char*string, int index, char*left, char*right); left and right are not declared and initialized in main but, I want to return left and right to main to print them out after splitting them. Is this a combination of call by reference and call by value?
Sir.Thank you so much...
you are another level thankyou soo much sirrrrr........
Sir u teaching is good sir please do more videos sir
Wow you cleared all my doubts
nice and clear explanation.
Good explanation
Excellent sirrr
THANKS A LOT SIR !!!! :) finally function is understandable :')
Thank you sir for clearing the dought of 2 yr
hi deban
thanks for watching my sessions and our channel.
Clear explanation sir.. Thank you💯
Sir kindly explain this. In the call by reference example why is it that in the function call we are swapping address of a and b that is &a and &b. Why aren't we swapping *a and *b that is value at address a and b in function call? Why aren't we doing that?
Sir,
Here you are not returning any value. So instead of printing the values in the main function you should have printed it in the user defined function or function definition I suppose.
same doubt.
There is no need to print a value in either main function or function definition because we are not returning and we know that the statements in function definition will not be executed.
Admirable........sir, tnq
call by ,call by refersnce is arg &without return sir
Thanks for your clear explanation
thank you sir.
what is the use of call by value and reference in c prg
Well it was a very good explanation
Sir hi,
I had a little doubt that in the call by reference that we're not printing the( *a,*b)values?... we're just printing the first (a,b)?...
Sir,can you explain the concepts on dynamic memory allocation
Sir, what are the uses of call by function and call by reference which one is more better and why? Please upload the ry fast
thank you sir,spoon feeding is very small word
Well did explain sir greate work.
7:19 function declaration
Tq sir nice explanation
so if we use same variable name in the main and sub functions, the same variable will be stored 2 different memory locations??
Great sir . Sir are u from tamil nadu?
Difference between call by value and call by reference
Sir only in swapping or any other ....
Sir whether the function call is fn or statement in itself
A guy has conducted a lucky draw. In which he has given a 5 digit number. If the second number is even and 4 th number is odd and sum of even and odd number is less than 5 th number print you are the winner or print try again. Write the program using functions. Pls send me the program for this sir.
Hi Prashanth send me your email so that I will send program to your mail
Thanks sir ... Plz sir I want your tutorial for data structure using c
Super sir!!
Thanku so much sir👍
Tq so much sir 🙏❤️
Sir when we need to use temp while writing pogram
Thank you sir. :))
.
..
...
Why actualparameters are not changed in call by value
Thank u so much sir
the called function should be int to return swapped values of a and b otherwise output is same as initialized value
Sir doubt
Sir y we did not declare function above the main function in call by value and y we declared in call by reference
Sir which type of function we shold give an example for call by address sir...?
With argument no return type ahh sir?
Sir I have doubt that in call by swapping of two is not possible ?
Sir, is call by reference & pointers to functions are same? Please clarify
Sir what are the advantages of Call by value and call by reference why we are using these
in both the programs main function did not return any value don't we get any error while compiling
Thanku so much sir
Sir please upload c language full course .
Sir one doubt you write the program IAM guessed in call by value we declare int temp place in semi colon
i tried to write these codes but it error .... refused to run !!
Thank you sir
Sir why we using & * in call by reference .why not using in call by value sir
Thank you
Thank you sir
What if I want to swap the variables without using temp variable..how do I point the variables and perform the logic then?
sir
please explain the pointer of interfunction communication topic
Superb explanation Sir
hi mishra
thanks for your interest towards our channel and share my sessions with
your friends and subscribe to our channel.Keep following our channel.
Sir in call by reference actual and formal can be of same variable or different?
Sir program start chesetappudu headerfile section rayama.....
Call by value and call by reference