int main() { float a = 1; cout << boolalpha << ((int)a == (int &)a); float b = 0; cout << boolalpha << ((int)b == (int &)b); }
扫描二维码,关注牛客网
下载牛客APP,随时随地刷题