#include        <stdio.h>

struct        foo {
        foo(int aa) { puts("ctor"); }
        ~foo() { puts("dtor"); }

        int                a;
};

void        what(foo arg)
{
}

void        TestFixedlist()
{
        foo                b(1);

        what(b);
}

이 프로그램을 실행시켜보고, ctor 과 dtor 의 쌍이 맞는지 확인해보라. 맞지 않는다면, 그 이유는 무엇일까? (난이도 : 7)

imcgames 의 김학규입니다