cs-self-learning/Cprogramming/pointer.c
2023-05-26 08:45:03 +00:00

29 lines
No EOL
486 B
C
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/**
* Notes on Pointer Full
* 1. 定义指针变量:
* datatype *name 指针变量所指向的数据类型 指针变量的名字
*
* 2.关于*和&的谜题:
* int a pa是指向它的指针
* 2.1 *&a是什么意思
* attempt*&a == a
* 2.2 &*pa是什么意思
* attempt == pa
*
* 3.数组指针
* 3.1 *p++ = *p++
* 3.2 *++p = *++p
*
*
* 4.数组和指针不等价
*
*/
#include <stdio.h>
int main() {
return 0;
}