设有以下程序段:int y; y=rand%30+

设有以下程序段:

int y;
y=rand()%30+1;

则变量y的取值范围是()。

答案
B

题目信息

题号:4026
题型:单选题
难度:普通