What will the result of num1 variable after execution of the following statements?

int j = 1, num1 = 4;
while (++j = 10)
{
num1++;
}

Posted on by