#include <stdio.h>
void main(){
    int A=10, B;
    int *C = &B;

    B = A--;               // B는 10, A의 값은 9로 변경
    B += 20;               // B의 값 30 변경
    printf("%d", *C);      // C의 값 B의 포인트 변수 값이므로 B와 동일
}

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: