Programmer Question
I have a string "14 22 33 48"
. I need to insert each of the values in the string into the respective location in the array:
int matrix[5];
so that
matrix[0] = 14;
matrix[1] = 22;
matrix[2] = 33;
matrix[3] = 48;
How do I do this?
Find the answer here
No comments:
Post a Comment