在C++中,( )最适合填入横线处连续5次正确生成1到10之间的随机整数?
for(int i=0; i<5; i++) ___________________;
rand() % 10 + 1
rand() % 9 + 1
rand() % 11
rand() % 10