K12教育赛事综合服务平台
聚乐之家官方网站
下载聚乐之家官方App
专注青少年竞赛题库网站
#include <iostream> using namespace std; int main() { int arr[] = {1, 3, 5, 7, 9}; int *p = arr; cout << *p << ","; cout << *(++p) << ","; cout << *p + 1 << ","; cout << *p++ << ","; cout << *p << endl; return 0; }
1,3,4,3,5
1,3,4,5,7
1,3,5,3,5
2,3,4,3,5