2

以下のコードでは:

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?

そうでない場合は、なぜですか?

では、どの場所で延期が適用されますか?

4

1 に答える 1