- #1
Peon666
- 108
- 0
What could be wrong with this code?:
When I output the supposedly converted array, it's outputs some crazy numbers.
?
Code:
int arr[10];
char arr2[10];
for (int i=0; i<10; i++)
{
arr[i]=(int)arr2[i];
}
When I output the supposedly converted array, it's outputs some crazy numbers.
?