fork(2) download
#include <iostream>

int foo()
{
	std::cout << "Foo\n";
}

int main()
{
	1?foo():0;  // if (true) foo()
	0?:foo();   // if (!false) foo()
}
Success #stdin #stdout 0s 3460KB
stdin
Standard input is empty
stdout
Foo
Foo