+ 2
A function is a group of statements that together perform a task. Every C++ program has at least one function, which is main(), and all the most trivial programs can define additional functions. You can divide up your code into separate functions. Happy coding..
23rd Nov 2016, 8:38 AM
Anil Krishna Raj
Anil Krishna Raj - avatar