2
看來,他們是不同的,當我在gdb中調試它們。C中*(a [1])和*(* a + 1)之間的區別是什麼?
(gdb) p order[1]
$16 = (struct order_s *) 0x746440
(gdb) p *order+1
$17 = (struct order_s *) 0x746430
(gdb) p *order
$18 = (struct order_s *) 0x746420
C中* a [1]和*(* a + 1)之間的區別是什麼?