Paolo Alexis Falcone <[EMAIL PROTECTED]> writes:

> A pointer to a function in C would make that function capable of being
> assigned with values, placed in arrays, or passed by or returned by
> other functions. This can be used to enable certain techniques such as
> making functions a member of a struct - akin to member functions in
> C++ (as you can't have functions as members of a struct in C).
>
> You don't allocate space for a function pointer.

On a related vein, are pointers to functions basically the same as
nameless functions in Lisp (in the sense that procedures can return
definitions of functions)?

-- 
ZAK B. ELEP     <[EMAIL PROTECTED]>     --      <http://zakame.spunge.org>
1024D/FA53851D          1486 7957 454D E529 E4F1  F75E 5787 B1FD FA53 851D
--  Running Debian GNU+Linux testing/unstable. GnuPG signed mail preferred.

Attachment: pgp2GO7KjyHUo.pgp
Description: PGP signature

--
Philippine Linux Users' Group (PLUG) Mailing List
[email protected] (#PLUG @ irc.free.net.ph)
Official Website: http://plug.linux.org.ph
Searchable Archives: http://marc.free.net.ph
.
To leave, go to http://lists.q-linux.com/mailman/listinfo/plug
.
Are you a Linux newbie? To join the newbie list, go to
http://lists.q-linux.com/mailman/listinfo/ph-linux-newbie

Reply via email to