Skip to content
RED SAG Skills
medium10 pts · first answer countsembedded-cundefined-behaviour

Changing a string literal

On a Cortex-M where string literals sit in flash, what happens here?

char *name = "node1";
name[4] = '2';
Choose one answer

Discussion 0

Join free to post in the discussion.

Related questions