Hey guys, was wondering if any one had a few moments to show me how to store some nummbers from a char array, into a single variable?
I'm in a coding class now and I was an intermediate coder a while back but I forgot much of what I learned.
Anyway, this code prompts the user to store digits into each index of the char array, but I want to be able to put that array in a single variable, in the index order..
i.e
char array1[3] = {'2', '3', '1'};
Then make a variable that reads the char array and has the value 231.