Answers for "remove the last letter in a string and get the remain letter in c"

C
2

c remove last character from a string

#include <string.h>
str[strlen(str)-1] = '\0';
Posted by: Guest on December-07-2020

Code answers related to "remove the last letter in a string and get the remain letter in c"

Code answers related to "C"

Browse Popular Code Answers by Language