【发布时间】:2017-06-03 01:42:39
【问题描述】:
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
【问题讨论】:
-
反之亦然。