can you tell me the difference between i++ and ++i in for loops? i know the concept of pre/postfi increments but i am not being able to find in difference between them in for loops
Pre/post increment
@arya_31
It doesn’t matter which one you use in for loops. You can use either of them. It wouldn’t matter at all.
It will make a difference though while using them as loop control variables in while or do while loops .