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

Опубликовано: 17 Март 2026
на канале: M R Kishore Kumar
3,396
62

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.
you pass reference of parameters to your function.if any changes made to those parameters inside function those changes are get reflected back to your actual parameters.
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