Answers for "how to cut off the first half of a string in c"

C
0

cut first part of string c

char *foo = "abcdef";
foo += 3;
printf("%s", foo); //will print def
Posted by: Guest on January-09-2021

Code answers related to "how to cut off the first half of a string in c"

Code answers related to "C"

Browse Popular Code Answers by Language