+ 1
In what kind of program should i use ++x?
In for loops mostly x++ is used so when can we use the prefixed one??
1 Answer
+ 1
When you will handle Array in while/for loop
Like :-
i=-1
While (A[++i])
A[i] =5+A[i]
Or what ever
In for loops mostly x++ is used so when can we use the prefixed one??