-4
int main(int argc, char **argv) { float *rainfall; float rain_today; // rainfall has been dynamically allocated space for a floating point number. // Both rainfall and rain_today have been initialized in hidden code. // Assign the amount in rain_today to the space rainfall points to. return 0; }
大家好。這是一個非常基本的問題,但我還沒有找到解決方案。 是不是隻是動態內存指針
rain_today = *rainfall
如果有的話是相反的。 – kaylum