Skip to main content
5 events
when toggle format what by license comment
Jun 5, 2019 at 20:21 vote accept guyd
Jun 5, 2019 at 19:41 comment added Juraj char* is a pointer. and char[] is a pointer too. it is copied so assigning a different pointer to it would not work. but if you change the memory where it points you will read outside of the function the same memory location with the changed content
Jun 5, 2019 at 19:39 comment added guyd Tnx ! and the reason char behaves differently is because it points to a pointer ?
Jun 5, 2019 at 19:28 history edited Juraj CC BY-SA 4.0
added 63 characters in body
Jun 5, 2019 at 19:22 history answered Juraj CC BY-SA 4.0