The output of this code should be 14.
The key point in this question is: No matter what the do while loop will execute at least once.
After 1st while loop "while(num++ < 10)", num = 11.
After second while loop, "while(num++ <= 11), num = 12. //True.
Will go to do again, after the first while loop.
num = 13, after second while loop num = 14.
//Even though the condition is false but since ++ operator is used before the condition check, therefore it will //implement post-increment and the value will be incremented to one everytime.