摘要:
#include using namespace std;void main(){ int a[5]={1,2,3,4,5}; int *p = a; //*p++ 先取指针p指向的值(数组第一个元素1),再将指针p自增1; cout << *p++; // 结果为 1 ... 阅读全文
摘要:
C++符号优先级优先级操作符功能用法结合性1()[]->.::++--Grouping operatorArray accessMember access from a pointerMember access from an object全局作用域Post-incrementPost-decrem... 阅读全文