My C++ Quiz

The ultimate place to learn C++!

Question #4: What is the value of y at the end of main?

const int x = 5;
int main(int argc, char** argv)
{
    int x[x];

    int y = sizeof(x) / sizeof(int);

    return 0;
}