#include
using namespace std;
int main()
{
bool a;
char b;
cout<<(&a)<<(&b)<<endl;
return 0;
}
#include
using namespace std;
int main()
{
bool a;
char b;
cout<<(&a)<<(&b)<<endl;
return 0;
}
存储空间大小用sizeof
cout<<sizeof(a)<<","<<sizeof(b)<<endl;