c语言中求数组的长度 c语言中求数组的长度很贱 double percentArray[3]; sizeof(percentArray)/sizeof(double) //3 sizeof(percentArray) //24