, . c++ -, - . . private. . union _ { // . private: // . } _; C - private . . , union tom { char ch; int x; } t;tom, ( ). , , , "". "" . . . . -. . , "" (=). , . ( , , .) C++ , . . , - . , "" "". union { int a; float f; }; //... a =10; // a cout << f; // f, - . , , (namespace), static. |