123456789101112131415161718192021 |
- #include <iostream>
- int main7()
- {
-
- bool flag = true;
- std::cout << flag << std::endl;
- flag = false;
- std::cout << flag << std::endl;
-
-
- std::cout << "bool类型所占内存空间 " << sizeof(bool) << std::endl;
- system("pause");
- return 0;
- }
|