#include <cstdio>
#include <cstdlib>
int main()
{
int b(3);
int arr[] = {6, 7, 8, 9, 10};
int* p = arr;
*(p++) += 123;
printf("%d, %d\n", *p, *(++p));
return EXIT_SUCCESS;
}
//考点:
//C语言中printf函数计算参数是从右至左压栈的
#include <cstdio>
#include <cstdlib>
int main()
{
int b(3);
int arr[] = {6, 7, 8, 9, 10};
int* p = arr;
*(p++) += 123;
printf("%d, %d\n", *p, *(++p));
return EXIT_SUCCESS;
}
//C语言中printf函数计算参数是从右至左压栈的