您的位置:首页 > 其它

38-练习函数的调用

2014-01-15 17:05 218 查看
#include "stdio.h"
#include "conio.h"
/*
练习函数调用
*/
void hello_world(void)
{
printf("Hello, world!\n");
}
void three_hellos(void)
{
int counter;
for (counter = 1; counter <= 3; counter++)
hello_world();/*调用此函数*/
}
void main(void)
{
three_hellos();/*调用此函数*/
getch();
}
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  c函数调用