i want to know during array traversal ,whether pointers do a better job than indices by considering the code snippet
int [10]array;
foreach( value;array) {
//something
}
i heard that implementations decides which one to use.i want to know how those two traversal differs?