Question #12: What value does foo print out?
#include <iostream>
const int SIZE = 5;
struct tester
{
void foo()
{
std::cout << SIZE << std::endl;
}
enum
{
SIZE = 3
};
};
int main(int argc, char** argv)
{
tester t;
t.foo();
return 0;
}