Is char size == 2, that is, 'a string literal' + '\0'? Or is there no universal definiton of its size?
Thank you claudiu and Elysia ... there really should be a "Thank you!" button. :)
Type: Posts; User: courteous
Is char size == 2, that is, 'a string literal' + '\0'? Or is there no universal definiton of its size?
Thank you claudiu and Elysia ... there really should be a "Thank you!" button. :)
Doesn't char *k; make k point to some "random" memory location? What does this statement really do behind the scenes? And how do you know that "there is not enough space"?
What is valid memory...
Hello to everyone! My first post, so be gentle. :)
Here I have two snippets: first should be avoided (unpredictable behavior), second should be fine. I do not understand why is it so. (I have some...