优化了命名

This commit is contained in:
lzy
2024-04-28 13:10:56 +08:00
parent d75a518c0f
commit ba9f2e37a7
155 changed files with 0 additions and 0 deletions

20
C07-函数/hello.c Normal file
View File

@@ -0,0 +1,20 @@
#include <stdio.h>
#include <stdlib.h>
void print_hello(void);
// 主调函数
int main()
{
print_hello();
exit(0);
}
// 被调函数
void print_hello(void)
{
printf("Hello world!\n");
return;
}