Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
c++
p特定の場所を指している
p
int * p
試しp=p[1]てみると、int を int に変換できない (devcpp を使用) と表示されます。
p=p[1]
p=&p[1]正常に動作している間
p=&p[1]
2 番目の方法を実行する必要があるのはなぜですか? p[1]は住所です。それで、最初の方法はうまくいくはずですか?このエラーについて説明してもらえますか?
p[1]