Timeline for Legitimate usage of char*
Current License: CC BY-SA 3.0
4 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Aug 11, 2015 at 21:57 | comment | added | Sourav Ghosh | @tepples Yes, in some cases, it can help. :) | |
Aug 11, 2015 at 21:55 | comment | added | Damian Yerrick |
Would const char *s = "my String" help avoid the potential for accidental UB?
|
|
Aug 11, 2015 at 21:42 | history | edited | Sourav Ghosh | CC BY-SA 3.0 |
added 224 characters in body
|
Aug 11, 2015 at 21:31 | history | answered | Sourav Ghosh | CC BY-SA 3.0 |