but high abuse content.
On Nov 2, 6:30*am, Nomen Nescio <nob...@dizum.comwrote:
lancer6...@yahoo.com said:<snip>
This specifies that parameter A is a pointer to a function[i] saw a function header defined as:int Function(int value1, int value2, (int *A)(void *A1, int *A2, void
*A3), void *A3)
'A' would be the name of a function. C automatically converts the nameand the function is called byFunction(value1, value2, A, A3);
into
a pointer to a function. The term used in the standard is "decays to
a
function pointer"
it specifies that the parameter is a function pointerIs the "(int *A)(void *A1, int *A2, void *A3)" in the function header
equivalent to passing a function (A) to another function (Function)?
Practically speaking, yes. In CLC-talk, no. Numerous semanticists,<snip>
postmodernists,
your word salad seems more PoM than anything else I've
seen recently on clc.
Something to think about: If "(int *A)(void *A1, int *A2, void *A3)"ok. It is specified that the parameter is a pointer to a function.
were replaced by "int A[]", would an entire array be passed to
Function() or something else?
If so, how are the arguments to A passed into Function when Function
is called?
They're not, at least not in the sense you probably think.
The parameters aren't passed here. You needd to look at the call
to A that, presumably, appears in Function().
<snip nonsense>
--
Nick Keighley