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
samedi 3 juin 2017
Checking several If conditions in C randomly
Inscription à :
Publier les commentaires (Atom)
Aucun commentaire:
Enregistrer un commentaire