Union in Object-Oriented Programming and C++ Explained
#include
using namespace std;
union test {
char c;
int i;
double d;
};
int main() {
test m = {'a'};
cout << "Size of union: " << sizeof>
17.18MB
文件大小:
评论区