摘要: 一.指针使用指针访问数据*pValue需二次访存,第一次访存,得到存放该数据的地址pValue,第二次访存,得到该内存地址存放的数据*pValue1.指针的声明和赋值 声明 dataType *pValue; 以整形为例 int count=5; int *pValue=&count; 或 int *pValue; int count=5; pValue=&count; pValue的值是count的内存地址, *pValue=52.数组与指针 dataType Array[n]; //数组变量Array表示的是该数组的起始地址 dataType... 阅读全文
posted @ 2013-04-09 17:28 MinZhang 阅读(658) 评论(0) 推荐(0) 编辑