4 ms·
To be pedantic, if I do char* s = "foo"; Then that string will be stored as f,o,o,\0 so the convention is baked into literals.
by tragomaskhalos 4y ago
To be pedantic, if I do
char* s = "foo";
Then that string will be stored as f,o,o,\0 so the convention is baked into literals.