c语言中求数组的长度很贱
double percentArray[3];
sizeof(percentArray)/sizeof(double) //3
sizeof(percentArray) //24
c语言中求数组的长度很贱
double percentArray[3];
sizeof(percentArray)/sizeof(double) //3
sizeof(percentArray) //24
转载于:https://www.cnblogs.com/zander/archive/2012/08/06/2625132.html