+ 1

Y in while loop we are using post inc or dec operators

22nd Feb 2017, 12:05 PM
Shivani S
Shivani S - avatar
2 Antworten
0
in my humble opinion, it is because they used a while loop where they should have used a for loop. personal preference I guess.
22nd Feb 2017, 12:47 PM
LordHill
LordHill - avatar
0
why can't we use? although u can achieve the same result if a for loop is used, that does not stop u from using a while loop with post Inc or Dec operators.
7th Apr 2017, 8:21 PM
Vishal Nayak
Vishal Nayak - avatar