105. Strings and Character Handling-ii

Question.3

A developer builds a log message:

char log[16] = "SENSOR:";
char *value = "TEMP=25.5C,HUM=60%";
strcat(log, value);

The log buffer is 16 bytes. What happens?

Need Help? Refer to the Quick Guide below

Select Answer