Ask a Question

how can I execute both if block and else block at same time?

on 2011-02-19 10:44:45   by sanjib   on BCA  1 answers

sanchayita

on 2011-02-19 10:30:00  

This will work if(schrodingers_cat_is_dead()) { printf(\"hello\"); } else { printf(\"world\"); } Unfortunately, as soon as you look at the output, not only will it collapse into the state of only producing \"hello\" or \"world\", but there\'s a 50% chance you will have murdered a cat.