Question:If 'data' is a circular array of CAPACITY elements and 'last' is an index in that array, what is the formula for the index after 'last'? 

A (last % 1) + CAPACITY 

B last % (1 + CAPACITY) 

C (last + 1) % CAPACITY 

D last + (1 % CAPACITY) 

+ Answer
+ Report
Total Preview: 1408

Copyright © 2024. Powered by Intellect Software Ltd