Generation

generate functionMon, 10 Apr 2023

funcion que recibe una String y la trasforma a cadena char

char *strToChar(char string[]){ // string = "hola"; char *cstr = malloc(strlen(string)); strcpy (cstr, string); return cstr; }

Want to kickstart your project?Use the new AI Studio to create your code