单项选择题

下列哪条语句能真正设置随机数种子?()

A.stand(50)
B.srand(time(NULL))
C.stand(500)
D.stand(1)

微信扫码免费搜题