Question: C programming help. How do I ask a user to enter a string of numbers, with or without spaces. And put each number in its
C programming help.
How do I ask a user to enter a string of numbers, with or without spaces. And put each number in its own spot of an array. I have no idea before hand how long the string is. I just need to ask the user to enter a string of numbers and put each one of the single digits in my char array.
Examle
1214
char string[0] = 1
string[1] = 2
string[3] = 1
string[4] = 4
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
