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 🙏

25th Aug 2019, 5:52 PM
Mahmoud Hamed
Mahmoud Hamed - avatar
2 Answers
+ 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. }
25th Aug 2019, 6:02 PM
D_Stark
D_Stark - avatar