In the above program value of i is greater than 10. Therefore condition becomes falseand program control enters directly into else-block by skipping if-block and executes the statement inside else-block.