我这样写了。为什么还是错的?
file.c: In function 'main':
file.c:9:2: error: expected ',' or ';' before 'float'
float f = c//将c赋值给f
^~~~~
file.c:15:16: error: 'f' undeclared (first use in this function)
printf("%f\n",f);
^
file.c:15:16: note: each undeclared identifier is reported only once