Saturday, September 10, 2011

bool test ? true : false

bool test ? true : false


#include <iostream>

using namespace std;

int main()
{
cout << (true ? "It's True" : "It's False") << endl;
cout << (false ? "It's True" : "It's False") << endl;
return 0;
}




No comments:

Post a Comment