您的位置:首页 > 编程语言 > C语言/C++

C语言——实例034 函数调用

2017-08-01 09:38 211 查看
/*
Name:
Copyright:
Author:
Date: 31/07/17 10:57
Description:
【程序34】题目:练习函数调用
*/

#include <stdio.h>
void hello_world(void)
{
printf("Hello,world!\n\n");
}

void three_hellos(void)
{
int counter;
for(counter = 1;counter <= 3;counter++)
{
hello_world();
}
}

int main()
{
three_hellos();
return 0;
}
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: