I have a program in C programming language in which there are several if conditions like below:
if(condition 1) {instructions}
if(condition 2) {instructions}
if(condition 3) {instructions}
// and some other conditions
Is there anyway that, when I run the program each time, the checking order of Ifs rearranged randomly e.g. like below:
if(condition 3) {instructions}
if(condition 1) {instructions}
if(condition 2) {instructions}
// and some other conditions
Aucun commentaire:
Enregistrer un commentaire