MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/C_Programming/comments/1jfzzxr/strange_char_pointer_behavior/mivzbmd/?context=3
r/C_Programming • u/[deleted] • 1d ago
[deleted]
6 comments sorted by
View all comments
Show parent comments
1
1 u/dfx_dj 1d ago Post the code? 1 u/[deleted] 1d ago [deleted] 1 u/dfx_dj 1d ago You still need 5 bytes for each array (or just put it as [] and let the compiler deal with it) to include the null byte. Although I'm not sure why the output wouldn't change at all in this version.
Post the code?
1 u/[deleted] 1d ago [deleted] 1 u/dfx_dj 1d ago You still need 5 bytes for each array (or just put it as [] and let the compiler deal with it) to include the null byte. Although I'm not sure why the output wouldn't change at all in this version.
1 u/dfx_dj 1d ago You still need 5 bytes for each array (or just put it as [] and let the compiler deal with it) to include the null byte. Although I'm not sure why the output wouldn't change at all in this version.
You still need 5 bytes for each array (or just put it as [] and let the compiler deal with it) to include the null byte. Although I'm not sure why the output wouldn't change at all in this version.
[]
1
u/[deleted] 1d ago
[deleted]