0

What happens when we create user defined function in main user defined function?

where should i put function prototype in this case? is it at before main function or in main user defined function

23rd Apr 2018, 4:40 PM
Hyeong Hyuga
Hyeong Hyuga - avatar
1 Odpowiedź
+ 20
No... C++ doesn't support that... u will get error... a function definition is not allowed before '{'...😏😏😏 check this out 👇 https://stackoverflow.com/questions/4324763/can-we-have-functions-inside-functions https://code.sololearn.com/ccQ0E43y47Wl/?ref=app
23rd Apr 2018, 4:48 PM
🌛DT🌜
🌛DT🌜 - avatar