I have one piece of code that is giving me some trouble and is confusing.
Here is the piece of code...
int r = rand() % 100;
printf("Random number: %u", r);
Why does it print 7 every time? According to the book it should print any number 0-100 I believe... am I wrong with this?