#include <iostream>
using namespace std;
struct Block {
int number;
};
int main() {
static Block static_block;
cout << "static_block: " << &static_block << endl;
Block stack_block;
cout << "stack_block: " << &stack_block << endl;
Block* heap_block = new Block();
cout << "heap_block: " << heap_block << endl;
delete heap_block;
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgp1c2luZyBuYW1lc3BhY2Ugc3RkOwoKc3RydWN0IEJsb2NrIHsKCWludCBudW1iZXI7Cn07CgppbnQgbWFpbigpIHsKCQoJc3RhdGljIEJsb2NrIHN0YXRpY19ibG9jazsKCWNvdXQgPDwgInN0YXRpY19ibG9jazogIiA8PCAmc3RhdGljX2Jsb2NrIDw8IGVuZGw7CgkKCUJsb2NrIHN0YWNrX2Jsb2NrOwoJY291dCA8PCAic3RhY2tfYmxvY2s6ICIgPDwgJnN0YWNrX2Jsb2NrIDw8IGVuZGw7CgkKCUJsb2NrKiBoZWFwX2Jsb2NrID0gbmV3IEJsb2NrKCk7Cgljb3V0IDw8ICJoZWFwX2Jsb2NrOiAiIDw8IGhlYXBfYmxvY2sgPDwgZW5kbDsKCWRlbGV0ZSBoZWFwX2Jsb2NrOwoJCglyZXR1cm4gMDsKfQ==