Would it be possible to print Hello twice using single condition?
Hello
condition
if \"condition\" printf (\"Hello\"); else printf(\"World\");
int main() { runIfElse(true); runIfElse(false); return 0; } void runIfElse(bool p) { if(p) { // do if } else { // do else } }