A short s is pre-incremented and compared with 0 as a while loop condition. An int counter, count, is used to track the number of times the loop is executed:
short s = 0;
int count = 0; // counter
while( ++s != 0 )
count++;
What would be the value of count when the while loop ends?