Answers for "print string from function in c"

C
0

how to make a function return a string c

const char* myName() {
  char *name = "Flavio";
  return name;
}
Posted by: Guest on May-29-2021

Code answers related to "C"

Browse Popular Code Answers by Language