Posts by TBOTL • 29 points
2 posts
-
1
votes1
answer137
viewsQ: Convert a char array to an ints array
Basically I’m trying to store a sequence of integers. I used a char array for when I input a sequence of 21 numbers it takes over as a string and after storing each number in each char array space.…
-
-1
votes1
answer58
viewsQ: Read and print a 21-digit sequence
I want to enter a sequence of 21 numbers and save it in an array, and after that I want to print the sequence I saved in the array. This is my code: void testa_nib () { int i=0,c=0; int nib[21]; for…