单项选择题

有如下程序:
#include<iostream>
using namespace std;
class Part
public:
Part(int x=0):val(x)cout< ~Part( )cout<<val;
pritave:
int val;

class Whole
public:
Whole(int x,int Y,int z=0):p2(x),p1(Y),val(z)cout<<val;
~Whole( )cout<<val;
pritave:
Part p1,p2;
int val;
f;
int main( )
Whole obj(1,2,3);
return 0;
程序的输出结果是

A.123321
B.213312
C.213
D.123123