Skip to content
RED SAG Skills
easy5 pts · first answer countsembedded-cpointers

Returning a local buffer

What is wrong with this function?

char *make_msg(void) {
    char msg[16] = "READY";
    return msg;
}
Choose one answer

Discussion 0

Join free to post in the discussion.

Related questions