+ 5
Weird result in a char array in c
So, i decided to see if there is a character after the specified length in an array. I was taught that there is only one more which is the null pointer but the result in the code below confused me, I got random characters in a char array, look at my code below. https://code.sololearn.com/crtrcd0SFsdU/?ref=app
4 Respuestas
+ 4
I would think that the other values are garbage values.
https://www.sololearn.com/Discuss/1654860/?ref=app
https://www.sololearn.com/discuss/1894346/?ref=app
0
Thanks