When I compile and run the following:
#include <iostream>
int main() {
bool f;
std::cout << f << std::endl;
f = not(f);
std::cout << f << std::endl;
}
I get as output:
8
9
Is this according to spec? Am I required to initialize booleans?
Robert
#include <iostream>
int main() {
bool f;
std::cout << f << std::endl;
f = not(f);
std::cout << f << std::endl;
}
I get as output:
8
9
Is this according to spec? Am I required to initialize booleans?
Robert
Comment