srand time null code example
Example: srand time null
#include
#include
#include
int main( void){
srand(time(NULL));
int x = rand()%100;
}
#include
#include
#include
int main( void){
srand(time(NULL));
int x = rand()%100;
}