Would it be possible to print Hello twice using single condition?
Hello
condition
if \"condition\" printf (\"Hello\"); else printf(\"World\");
Just put the code before or after the if..else block.
Alternatively, if you have an "if, else if, else" block where you want to execute code in some (but not all) branches, just put it in a separate function and call that function within each block.