hello.c: In function 'main': hello.c:4:14: warning: character constant too long for its type char c = '97.000000'; ^~~~~~~~~~~ hello.c:4:14: warning: overflow in implicit constant conversion [-Woverflow] 48 48.000000 48.000000
char是定义字符,97.0000000是float类型或者double类型。发问题的时候最好把原代码发上来,看着方便