Can someone tell me, why the increment affect the program(incrementing it after if(condition?).In 2st program why it can\'t prints next elements.(i just put i+=1 after the p