更新了文件名。开始了数据结构

This commit is contained in:
lzy
2024-04-14 06:55:53 +08:00
parent 9bc7edbf47
commit 45bcb90c6d
69 changed files with 455 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
#include <stdio.h>
#include <stdlib.h>
#include "proj.h"
static int i = 10;
int main()
{
printf("[%s]i=%d\n", __FUNCTION__, i);
// func();
call_func();
exit(0);
}

View File

@@ -0,0 +1,17 @@
#include <stdio.h>
#include <stdlib.h>
#include "proj.h"
static int i = 100;
static void func(void)
{
printf("[%s]i=%d\n", __FUNCTION__, i);
exit(0);
}
void call_func(void)
{
func();
}

View File

@@ -0,0 +1,5 @@
#ifndef PROJ_H___
#define PROJ_H___
void call_func(void);
#endif