编程语言
首页 > 编程语言> > C++指针

C++指针

作者:互联网

两种声明方式

int* p = new int;
*p = 1000;

int a = 1000;
int* p = &a; 

数组名和指针的区别

标签:arrayName,pointerName,int,C++,数组名,数组,指针
来源: https://www.cnblogs.com/jpdeng/p/16609943.html