+ 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??

9th Jul 2020, 12:37 PM
C Alpha Beraka
C Alpha Beraka - avatar
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
9th Jul 2020, 1:24 PM
Satya Prakash
Satya Prakash - avatar