Question: the following line of code from figure 313 checks if...
- The following line of code from Figure 3.13 checks if the buffer is full:
While ((in + 1) % BUFFER_SIZE == out)
What would be the problem if we replace the condition to the following line:
While(in == out)
Explain your answer.