c remove last character from a string
#include <string.h>
str[strlen(str)-1] = '\0';
3.5
6
pame
Thank you!
6
0
Are there any code examples left?
New code examples in category C
-
C 2022-03-27 22:30:45 Problem Statement Print the following output: \ Input Format IN Output Format \
-
-
-
-
-
-
-