printf("The Element is %d and its index is %d\n", array[i],++i);
In the above program, the loop starts with -1. But in the output , the index starts from 0 to 8. I couldn't understand the concept behind it. Can anybody explain it?