Function Statements
There is virtually no limit to the number or types of statements that can be in a function body.
On the other hand, well-designed functions tend to be small. The vast majority of functions will be just a handful of lines of code.
Get Sams Teach Yourself C++ in 24 Hours, Third Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.