I'm trying to convert an array of integers into a string in C. FOr instance I have the following code:
int number[] = {1,3,2,0};
char c[5];
for(int i = 0 ; i < 4; i ++ ){
c[i] = number[i];
}
printf("%s", c);
It however outputs smiley faces or hearts and I am not sure why.