TIP: Click on subject to list as thread! ANSI
echo: c_echo
to: Neil Heller
from: Jasen Betts
date: 2004-04-30 07:50:40
subject: Function Pointer Redux

Hi Neil.

28-Apr-04 15:19:00, Neil Heller wrote to All


 NH> Given the following line of code:

 NH> typedef void * (*x) (void *)

 NH> What does this statement declare?

 NH> What is x?

x is a type of pointer.

. typedef void * ( * x ) ( void * )
.   0      7   6   2  1  3   5  4
.
.  a thing of type x is a pointer to a funtion which takes pointer to void
.  ~~~~~~~~~~~~~~~ ~      ~~~~~~~    ~~~~~~~~~             ~~~~~~~    ~~~~
.      0           1         2           3                    4        5
.
.  and returns pointer to void
.              ~~~~~~~    ~~~~
.                6         7


 -=> Bye <=-

---
* Origin: How to make Kleenex dance? Blow a little boogie in it. (3:640/1042)
SEEN-BY: 633/267 270
@PATH: 640/1042 531 954 774/605 123/500 106/2000 633/267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.