a[b] 实际上是 *(a + b)所以 上面这段代码相当于 #include <iostream> using namespace std; int main(void) { cout << *("abc"+2) << endl; return 0; } 搬运一个stackoverflow: http://stackoverflow.com/ques...
a[b]
实际上是*(a + b)
所以 上面这段代码相当于
搬运一个stackoverflow: http://stackoverflow.com/ques...