单项选择题
循环队列用数组A[0…m-1]存放其元素值,已知其头尾指针分别是front和rear,则当前队列中的元素个数是()
A.(rear-front+m)%m
B.read-front+1
C.read-front-1
D.read-front
点击查看答案&解析
相关考题
