USEPARAM.C
资源名称:C.rar [点击查看]
上传用户:qq5388545
上传日期:2022-07-04
资源大小:29849k
文件大小:0k
源码类别:
界面编程
开发平台:
C/C++
- #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 twicen");
- hello_count(2);
- printf("Display the message five timesn");
- hello_count(5);
- }