#my code is accessing into junk data and I don't really understand why is it doing that.

14 messages · Page 1 of 1 (latest)

vale geyserBOT
#

When your question is answered use !solved to mark the question as resolved.

Remember to ask specific questions, provide necessary details, and reduce your question to its simplest form. For tips on how to ask a good question run !howto ask.

gusty geode
#

strings need to end with the null character '\0'

#

because b might not, it will continue printing until if finds a null character

#

c works fine because you initialized it with "", so it is filled with 0s

dry musk
#

mmm OH!

#

Thankyou so so much, thank clarified up everything for me.

#

Thanks again!

gusty geode
#

no problem

dry musk
#

<3

#

!solved

vale geyserBOT
#

Thank you and let us know if you have any more questions!

#

@dry musk

Please Do Not Delete Posts!

Please don't delete forum posts. They can be helpful to refer to later and other members can learn from them. In the future you can use !solved to close a post and mark a post as solved.

#

@dry musk Has your question been resolved? If so, run !solved :)

dry musk
#

!solved