0
function cpp
i don't understand function and i tried a lot to understand it but i do not. so could anybody recommend YouTube video for me to watch which function are explained on it please 🙏
2 ответов
+ 1
A function is like a self contained peice of code that you call from anywhere in your program.
YourFunction(){
Do somthing
}
Main(){
In here,which is the main function, you can call the function you created above like so..
YourFunction();
It will go to that function above and do somthing and that's it.
}