#include <stdio.h>
void main() {
int a = 10;
int b;
int *c = &b; //c는 b의 주소를 가리키는 포인터
b = a++; //b=11
b += 10; //c=b=21
printf("a=%d\n", a);
printf("b=%d\n", b);
printf("c=%d\n", *c); // 포인터 변수이므로 '*' 잊지말기
}
To embed this project on your website, copy the following code and paste it into your website's HTML: