Hey. I was wondering if , when you assign a random value to x (or whatever) , (using the rand() function) you could later assign it another random value. Is this possible ?
Thanks in advance
Hey. I was wondering if , when you assign a random value to x (or whatever) , (using the rand() function) you could later assign it another random value. Is this possible ?
Thanks in advance
if you mean something like this:
then yes.Code:int x = rand(); // yada yada yada // bla bla bla x = rand();
yes.