📄 pointerarith.cpp
字号:
#include <iostream>//startint main() { using namespace std; int y[] = {3, 6, 9}; int x = 12; int* px; px = y; /* y, or any array name, is an "alias" for a pointer to the first element in the array */ cout << "What's next: " << *++px << endl; cout << "What's next: " << *++px << endl; cout << "What's next: " << *++px << endl; cout << "What's next: " << *++px << endl; return 0;}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -