104. Strings and Character Handling-i

Question.6

A developer tries to normalize a UART command to uppercase:

char *cmd = "read";
cmd[0] = 'R';  // Capitalize first letter

Will this work?

Need Help? Refer to the Quick Guide below

Select Answer