Print part of a string in C

后端 未结 4 1730
有刺的猬
有刺的猬 2020-12-15 07:52

Is there a way to only print part of a string?

For example, if I have

char *str = \"hello there\";

Is there a way to just print

4条回答
提交回复
热议问题