This is not specific to any programming language, the problem is \"find the index of a specified value in an array of n numbers.
Now my question is, in the code below ca
Of course the first one is correct. In the second one when you declare the array, n is not yet set. So it is not correct.
n