I have the small program
#include<iostream>
using namespace std;
class xyz{
private: int xyz[]; // Why this line is not giving error.
};
int main(int argc, char *argv[])
{
cout<<sizeof(xyz); //Q=Why this code is not giving error.
return 0;
}
I am using gcc 4.3. Please tell me why am I wrong?