#define true false

Posted on March 16, 2011

What is the output of the following C++ program?

#include <iostream>

#define true false
#define false true

int main(){ std::cout << (
        false ? "false" :
        true  ? "true"  :
                "mu"
) << "\n";}