Is the function main considered a block? I don't think it has file scope. I don't know if its function, file, or block scope.
This is a discussion on Scope question within the C++ Programming forums, part of the General Programming Boards category; Is the function main considered a block? I don't think it has file scope. I don't know if its function, ...
Is the function main considered a block? I don't think it has file scope. I don't know if its function, file, or block scope.
It's a function just like any other.