循环队列用数组A[0…m-1]存放其元素值,已知其头尾指针分别是front和rear,则当前队列中的元素个数是()
A:(rear-front+m)%m
B:read-front+1
C:read-front-1
D:read-front
出自:数据库系统工程师(中级)