0
str2 output i can't understand
4 Answers
+ 2
World string is too short and misses the termination letter \0.
My suspicion:
Since the words are sitting next to each other in memory, they are read as one string (till the \0 of the first word).
(I'm not sure if exactly this would happen on every system. EDIT: According to swim - not. đ)
+ 2
Thanks a lot HonFu for your elaborate explanationđ
+ 2
Thanks ~ swim ~ (not available on messanger) for your answer,i get it.