Say you have an array right, now if I’m correct based on my knowledge, it’s like
int A[] = [1, 2, 3];
Now if this is somewhat correct, how could one print to say, variable B as the array numbers in series.
For this specific example, if you print out B every time it prints a number in the array, it goes on to the next one.
So the serial.println would be
B=1
...
B=2
...
B=3
...
Now how would the code look based in these examples?
It will help me to help OP to declare an array in the way it should be. Let us go to the Bar Sport to discuss it -- What is the definition of 'definition'.
An array is a specific series of numbers in order that can help to compress the code
It does not have to be numbers as long as all of the elements are of the same data type.
You can have
an array of characters for example. char characters[] = {h,e,l,l,o};
It has been, rightly pointed out by GolamMostafa, that that code is not correct.
This is an error and not an ignorance. Many veterans of this Forum are reluctant to accept it; sometimes, they claim that a poster should act like a programmed machine which does not do mistake.