C語言printf壓棧問題

1. 事出有因        今天在刷面試題的時候遇到以下一個面試題:面試 #include <stdio.h> #include <stdlib.h> int main() { int arr[] = { 6, 7, 8, 9, 10 }; int *ptr = arr; *(ptr++) += 123; printf("%d, %d\n", *ptr, *(++ptr));
相關文章
相關標籤/搜索