我有小程序
#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;
}
我正在使用 gcc 4.3。请告诉我为什么我错了?