以下代码输出什么?
package main import ( "fmt" ) func main() { var ans float64 = 15 + 25 + 5.2 fmt.Println(ans) }
A:不能编译;B:45;C:45.2;D:45.0