+ 3
Can we declare main function under user defined function in c++?
eg void myfunction(){ int main(){ ----------- -------- return 0; } }
4 Respostas
+ 2
no, you cant have nested functions in c++
+ 2
No
0
No
eg void myfunction(){ int main(){ ----------- -------- return 0; } }