001 -- Pointer

Posted ReedyLi

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了001 -- Pointer相关的知识,希望对你有一定的参考价值。

1- definition

A variable that contains a memory address, points to somewhere in the process’ virtual address space 

2- dereference a pointer 

#include <stdio.h>
int main(int argc, char **argv)
{
int x = 42;
int *p; // p is a pointer to an integer p = &x; // p now stores the address of x printf("x is %d\\n", x);
*p = 99;
printf("x is %d\\n", x);
return 0;
}

 

3- pointer acrethrim 

 

More details can be refer with the link as below_ it\'s very good (in chinese ):

http://blog.csdn.net/u011974987/article/details/52270018

以上是关于001 -- Pointer的主要内容,如果未能解决你的问题,请参考以下文章

5.12 CopyNet和 Pointer-Generator Net 复制机制和指针-生成器网络

3d max 动作Take 001改名

3Dmax导入Unity中 动画名字如何更改 图中动画名字Take001Unity里不能改 max怎么改

POINTER 和 ALLOCATABLE 的区别

C++ - “!pointer”和“pointer == nullptr”之间的区别?

win10错误代码REFERENCE_BY_POINTER解决方法