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=5,b=6,c=7;; int *const ptr = &a; //if ptr = &b; is wrong since it is a pointer constant.
ポインタの延期が適用可能かどうか?
*ptr = 8; //is it allowed?
そうでない場合は、なぜですか?
では、どの場所で延期が適用されますか?