struct A{
int a;
int b;
}AA;AA a[100];
我一直认为初始化应该这样:
memset( a , 0x00 , sizeof( a ) );但是有人这样写,结果也对:
memset( &a , 0x00 , sizeof( a ) );这是为什么?谢谢