What does scope of functions mean?
I understand the scope of variables. When we talk about the scope of functions, is it referred to the functions within structures (classes) or is there scope for the normal functions that we call in main() of a C/C++ program?
Functions can have global, namespace, class (usually called members in that case), or local (within another function) scope. They can also be
staticgiving them internal linkage or within an anonymous namespace, making them inaccessible outside a translation unit (while still having external linkage so they can be used as template parameters).