int main()
{
    unsigned int i=65000;
    while ( i++ != 0 );
    printf("%d",i);
    return 0;
}

The output for this program is 1 can anyone explain me how I got this output?
Thanks in advance.