rgb192
asked on
loop through int values
#include <stdio.h>
#include <string.h>
main()
{
int A[] = { 2, 4, 5, 8, 1 };
int j;
int valueAj;
for (j = 0; j<5; j++)
{
valueAj = A[j];
}
for another example, I want to know why the visual studio express is saying
valueAj = A[j];
is an error
I do not want new code to solve a loop problem
I want to know or modify this code to work.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks.