Can anyone please explain why this code is NOT printing out i=0 and sum=0? (it runs and does not print out anything)

The while loop is NOT executed b/c the semi colon.
sum = sum+i; <- is executed independent of the while loop so 0+0=0 <- for sum.

My logic:
The printf should print out the 'i=0' from when it was declared and sum=0 from the explanation above.

My logic#2:
Does this have anything to do with the boolean expressions are 0 and 1 and 0=FALSE and 1=TRUE and since it values out to 0, then nothing prints out? IF it was any other value besides zero then something would print out? <-- Is that correct?

Code:
int i=0, sum=0;
while (i<10);
  sum = sum+i;
printf("i=%d,sum=%d\n",i,sum);