std::cout << "int 型は" << sizeof(int) << "バイト\n"; std::cout << "double 型は" << sizeof(double) << "バイト\n";