无效(*一)(字符*,字符*);这是一个功能呢? [英] void (*a)(char*, char*); is this a function?
本文介绍了无效(*一)(字符*,字符*);这是一个功能呢?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
void (*a)(char*, char*);
这是一种叫做功能。返回void指针?
在C?
is this a function called a. returns void pointer? in c?
推荐答案
这是一个名为变量 A
的声明;它是一个指针,需要两个的char *
参数,也没有返回值的函数。您将需要调用它之前分配的实际功能 A
。
This is declaration of a variable named a
; it is a pointer to a function that takes two char*
parameters and does not return anything. You will need to assign an actual function to a
before calling it.
这篇关于无效(*一)(字符*,字符*);这是一个功能呢?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文