【发布时间】:2020-04-19 09:23:14
【问题描述】:
char *strinv(const char *s); //that's the given prototype
我对 *strinv 部分有点不安全。这是否意味着该函数在调用时会自动取消引用?还是把函数定义为指针?
提前感谢您的澄清。
【问题讨论】:
-
表示返回类型为
char *。 -
Does it mean that the function is automatically dereferenced when called?- 你能详细说明你的意思吗?
标签: c prototype c-strings dereference function-declaration