useparam.c
来自「该文件包含900个C语言编程的经典例子,供大家学习之用.希望对大家有帮助.」· C语言 代码 · 共 24 行
C
24 行
#include <stdio.h>
void hello_world(void)
{
printf("Hello, world!\n");
}
void hello_count(int message_count)
{
int counter;
for (counter = 1; counter <= message_count; counter++)
hello_world();
}
void main(void)
{
printf("Display the message twice\n");
hello_count(2);
printf("Display the message five times\n");
hello_count(5);
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?