Is it possible to select a specific part of a string in C?

前端 未结 0 1539
执念已碎
执念已碎 2021-01-30 23:47

Is it possible to select a specific part of a string in C?

For example in python you can do:

text = "ab"
a = text[0]
b = text[1]

相关标签:
回答
  • 消灭零回复
提交回复
热议问题