+ 5

Can I call one function in another function in C++ and Python

20th Dec 2016, 3:28 PM
Sumit Singh
Sumit Singh - avatar
3 Réponses
+ 3
yes you can even call the same function - that is called 'recursion'
20th Dec 2016, 3:31 PM
Demeth
Demeth - avatar
+ 3
Yes, provided that you define the called "inner" function/method first (before calling it in the "outer" function/method).
21st Dec 2016, 7:40 AM
Kuba Siekierzyński
Kuba Siekierzyński - avatar
0
You can call a function inside another function if it is in scope
20th Dec 2016, 5:32 PM
Rishi Anand
Rishi Anand - avatar