I have no idea on how to do this task with C.
For example: When user enters 12345 this will be stored as a string. I want to gather each digit of user answer and convert/migrate it to all integer arrays element.
So a integer has the size of 5 and 1 would be intarray[0], 2 would be in intarray[1] etc. etc.
My code directly adds the string[i] to intarray[i]. This is incorrect. Can someone provide any insight for a solution of my problem.
For example: When user enters 12345 this will be stored as a string. I want to gather each digit of user answer and convert/migrate it to all integer arrays element.
So a integer has the size of 5 and 1 would be intarray[0], 2 would be in intarray[1] etc. etc.
My code directly adds the string[i] to intarray[i]. This is incorrect. Can someone provide any insight for a solution of my problem.

