Answer
1 2 3 4 5
Explanation:
initialize the value of n with 1
then, for loop is executed until the condition is true.
so, it check the condition 1<=5, condition true, code is executed and print 1
and n become 2.
again check condition 2<=5 condition true, code is executed and print 2
and n become 3.
and so on....
it print 1 2 3 4 5 after that check condition 6<=5 condition false, it terminate from loop.
Therefore, the answer is 1 2 3 4 5