小编Nee*_*am 的帖子

为什么这个代码打印0?

void main()
{
    clrscr();
    float f = 3.3;

    /* In printf() I intentionaly put %d format specifier to see
       what type of output I may get */
    printf("value of variable a is: %d", f);
    getch();
}
Run Code Online (Sandbox Code Playgroud)

c

-8
推荐指数
1
解决办法
144
查看次数

标签 统计

c ×1