+ 3

Confusion with functions!

When two or more calling functions calls the same function, does the function behaves the same to every calling function. If the calling function change the initial values of the function, does it affects the another calling function? #rip_bad_english_sorry! 🤐😝

13th Aug 2017, 10:30 AM
Çůřîöş ßąšäñț 🇮🇳
Çůřîöş ßąšäñț 🇮🇳 - avatar
3 ответов
+ 6
yes, it behaves the same no, it doesnt affect another calling function p.s. sorry for bad english
13th Aug 2017, 10:39 AM
David Sebastian Keshvi Illiakis
David Sebastian Keshvi Illiakis - avatar
+ 4
this call function overriding.. when 2 or more functions have same name but different parameters or different return value, it's called function overriding..
13th Aug 2017, 10:49 AM
Mohit Mehta
Mohit Mehta - avatar
+ 2
what happen?
13th Aug 2017, 10:47 AM
Çůřîöş ßąšäñț 🇮🇳
Çůřîöş ßąšäñț 🇮🇳 - avatar