anna one doubt call by value (formal parameter do not reflect in actual parameter) output same aa varum and call by reference(formal parameter reflecting actual parameter) so value change aagum but neega program mathi sollururiga nu neenaikuran
Anna oru doubt ...sila peru ipa function call panra apa oru variables use panraga.. aprm function definition la vera variables use panraga ... but ennaku orae variables Use panatha purithu apdi use panna thappa anna..
Hii!! neenga orae name kooda use panalam pa.. for example #include void myFunction(int n) { printf("%d",n); } int main() { int n = 5; myFunction(n); return 0; } intha code la naan 'n' ah thaan both func def and func call la use panirukan....antha n = 5 nu antha function ku pogum again adha n nu oru variable la thaan store panran.... you can use any other variables also.... Scope of n is within that main also scope of that n also within that function.... Its not a big issues pa....
#include int sum(int n); Void main() { int a=5; Printf(" %d",a); a=sum(a); Printf(" %d",a); } int sum (int n) { n=n+20; Print(" %d",n); return n; } O/p 5 25 25 nu call by value la varudhu bro epidi bro endha value varum call by value na reflect agathuthane... So epidi bro endha value varum plz replay me bro
#include void sum(int a); int main() { int a = 5; printf("before call by value "); printf("%d",a); sum(a); printf(" after call by value "); printf("%d",a); return 0; } void sum(int a) { a = a+20; } Output before call by value 5 after call by value 5
most underrated youtube channel
sema bro . nalla purinjudhu.
Super Balaji ma God bless you
Very nice explanation thanks
Glad you liked it
File handling video podunga sir ur explanation is grt
anna one doubt call by value (formal parameter do not reflect in actual parameter) output same aa varum and call by reference(formal parameter reflecting actual parameter) so value change aagum but neega program mathi sollururiga nu neenaikuran
Well explained sir❤❤❤
Thanks and welcome
Nice video bro 😉
Very nice explain
super anna
Thank you 😊👍
Very very tq so much anna👍❤
Thanks for your Comment!! Subscribe our channel and stay connected
@@CONQUERVICTORY definitely anna 💯❤
Thanks 🙏😊
Thank you bro
Super anna
Amazing...!!
Thanks a lot!
Tq bro
Super pro....
Thanks 🙏🙏
Bro oru doubt output la 1st a=10 b=20 varatha bro..pls bro clear panunga..
Anna oru doubt ...sila peru ipa function call panra apa oru variables use panraga.. aprm function definition la vera variables use panraga ... but ennaku orae variables
Use panatha purithu apdi use panna thappa anna..
Hii!! neenga orae name kooda use panalam pa.. for example
#include
void myFunction(int n)
{
printf("%d",n);
}
int main()
{
int n = 5;
myFunction(n);
return 0;
}
intha code la naan 'n' ah thaan both func def and func call la use panirukan....antha n = 5 nu antha function ku pogum again adha n nu oru variable la thaan store panran....
you can use any other variables also....
Scope of n is within that main also scope of that n also within that function....
Its not a big issues pa....
Okay ..Thanks anna🤗
Broo call by reference vanthu
Pointers concept thana
Yes
Swaping ku matum than use akuma
Swapping is one such typical example given in many text books
BanGam🔥🔥🔥
#include
int sum(int n);
Void main()
{
int a=5;
Printf("
%d",a);
a=sum(a);
Printf("
%d",a);
}
int sum (int n)
{
n=n+20;
Print("
%d",n);
return n;
}
O/p
5
25
25
nu call by value la varudhu bro epidi bro endha value varum call by value na reflect agathuthane... So epidi bro endha value varum plz replay me bro
#include
void sum(int a);
int main()
{
int a = 5;
printf("before call by value
");
printf("%d",a);
sum(a);
printf("
after call by value
");
printf("%d",a);
return 0;
}
void sum(int a)
{
a = a+20;
}
Output
before call by value
5
after call by value
5
Check this program bro !! Neenga function call la thaapu panirukinga
I checked pa !! Nan run pani thaan ungaluku send ae panan!!
@@CONQUERVICTORY oh ok anna tq na
🎉😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊🎉🎉🎉🎉🎉😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊ѕυσєя тєα¢нιиg😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊αωєѕσмє тєα¢нιиg😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😅😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊
fιи∂ тнє σ∂∂ ємσʝι
😅
😺