#include <iostream>

using namespace std;

int main()
{
    int a = 5;
    
    // 포인터 변수를 선언하고 변수 a의 주소를 저장하세요.
    int *ptr = __________________;

    // 포인터가 가리키는 값을 출력하세요.
    cout << "포인터가 가리키는 값: " << ______________ << endl;

    // 변수 a의 값을 10으로 바꾸고 포인터로 출력해 보세요.
    a = 10;
    cout << "바뀐 값: " << *ptr << endl;

    return 0;
}

Embed on website

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