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.
このコードで:
int a = 10; int *ap = 4; printf("%d", ap);
int ポインター ap を 4 で初期化するとどうなりますか?
なぜ
printf("%d", ap);
働くが、
printf("%d", *ap);
エラーをスローしますか?