I perfer sizeof(variable) over sizeof(type) . Consider: int a1; float a2; memset(&a1,0,sizeof(a1)); memset(&a2,0,sizeof(a2));.
確定! 回上一頁