stdup lib code example
Example: strdup c
// use : char *strdup(char *str)
string1 = "hello"
string2 = strdup(string1)"
printf("%s", string2)
// print : hello
// use : char *strdup(char *str)
string1 = "hello"
string2 = strdup(string1)"
printf("%s", string2)
// print : hello