i think i get it now. as soon as you change a to 0 (a=0;) your while loop in first function stops working and you need to call that function (test();) again and a needs to be equal to 1 (a=1;)



Ubi bene, ibi Patria.