Correct option is (ii) 30#40#50#
First AR is declared as a variable and has a series of different numbers.
Then, let FROM be 1 as the limit is given 1 to 3.
Then, let TO be 2 as the limit is given 2 to 4.
Now in for loop FROM is 1 and TO will become 3 as to give (FROM, TO+1).
Now FROM and TO are (1,3)
At last, as K in FROM is 1 and K in TO is 3, the number indexing on 1 to 3 will be printed with # between them.