35.Python Call by Value or Call by Reference | Python Tamil Series | M R Kishore Kumar

preview_player
Показать описание
35.Python Call by Value or Call by Reference | Python Tamil Series | M R Kishore Kumar

Call/Pass By Value:
In pass-by-value, the function receives a copy of the argument objects passed to it by the caller, stored in a new location in memory.
You pass values of parameter to the function,if any kind of change done to those parameters inside the function ,those changes not reflected back in your actual parameters.

Call By Reference:
In pass-by-reference, the function receives reference to the argument objects passed to it by the caller, both pointing to the same memory location.
In Python Neither of these two concepts are applicable, rather the values are sent to functions by means of object reference.

In Python Neither of these two concepts are applicable, rather the values are sent to functions by means of object reference.

#python #tamil #programming
Рекомендации по теме
Комментарии
Автор

Really appreciate your effort keep it up :>

ArunKumar-wucx
Автор

Call by value and pass by value are same?

sasindranshanmugavel
welcome to shbcf.ru