#ifdef __BORLANDC__
  #pragma argsused
#endif
#include<iostream.h>
union test {
  char* zm1;
  int zm2;
  double zm3;};
int main( int argc, char * argv[] )
{
  test tt;
  tt.zm1="Taki napis";
  cout<<"Po tt.zm1=Taki napis"<<"\n";
  cout<<"tt.zm1="<<tt.zm1<<"\n";
  cout<<"tt.zm2="<<tt.zm2<<"\n\n";
  tt.zm2=1;
  cout<<"Po tt.zm2=1"<<"\n";
  cout<<"tt.zm2="<<tt.zm2<<"\n";
  cout<<"tt.zm3="<<tt.zm3<<"\n\n";
  tt.zm3=1.34;
  cout<<"Po tt.zm3=1.34"<<"\n";
  cout<<"tt.zm2="<<tt.zm2<<"\n";
  cout<<"tt.zm3="<<tt.zm3<<"\n";
  return 0;
}
