这里我有一点不明白啊
代码如下:#include<stdio.h>void pound (int n);
int main()
{
int times=5;
char ch='!';
float f=6.0;
pound(times);
pound(ch);
pound((int)f);
return 0;
}
void pound(int n)
{
while(n-->0)
printf("#");
printf("\n");
}运行结果就是这样,我不明白的是为什么会有第三行的数据,哪里体现出来的
pound((int)f); 啊
(int)f 就是6啊/*(int)是什么意思你应该知道的吧╭(╯3╰)╮*/
pound((int)f) 就是pound(6)了啊 不懂的话可以追问哈╭(╯3╰)╮ 牡丹花下死做鬼 发表于 2013-8-12 11:43 static/image/common/back.gif
不懂的话可以追问哈╭(╯3╰)╮
懂了,谢谢,我看的太不认真了 这么简单的哦我都知道
页:
[1]