double wages[3] = {10000.0,20000.0,30000.0};
short stacks[3] = {3,2,1};
double * pw = wages;
short * ps = &stacks[0];
cout<<"PW="<<pw<<",*PW="<<*pw<<endl;
pw = pw+1;
cout<<"PW="<<pw<<",*PW="<<*pw<<endl;
cout<<"PS="<<ps<<",*PS="<<*ps<<endl;
ps = ps+1;
cout<<"PS="<<ps<<",*PS="<<*ps<<endl;
cout<<"stacks[0]:"<<stacks[0]<<endl;
cout<<"stacks[1]:"<<stacks[1]<<endl;
cout<<"stacks[2]:"<<stacks[2]<<endl;
cout<<"*stacks:"<<*stacks<<endl;
cout<<"*stacks:"<<*(stacks +1)<<endl;
cout<<sizeof(wages)<<endl;
cout<<sizeof(pw)<<endl;