In a circular queue of size n, how many elements can be inserted?

Explanation:

One space is left empty to distinguish full and empty states.