> For the complete documentation index, see [llms.txt](https://easonwang.gitbook.io/c/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://easonwang.gitbook.io/c/xing-bie/zhi-biao.md).

# 指標

```c
#include <stdio.h>
int main() {
    int *d;
    printf("%p\n", &d);
    printf("%p\n", d);
    printf("%d", *d);
}
```

之後輸入

```c
gcc test.c && ./a.out
```

## 回傳指標的function

```c
int* test(int as)
{
    static int a;
    return &a;
}
```
