Re: OT: Programming in C

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Steven W. Orr wrote:

Quiz for next Friday. What are these and what's the difference between them:

int     (*(**p)[])(int)
declare p as pointer to pointer to array of pointer to function (int) returning int

and
int     *(*(**p)[])(int)
declare p as pointer to pointer to array of pointer to function (int) returning pointer to int

I would really want to see both a justification of method and certificate of sanity to someone who actually used either. I can just barely justify pointer to array of function returning int (state machines), these look like something a compiler compiler would do.

--
Bill Davidsen <davidsen@xxxxxxx>
  "We have more to fear from the bungling of the incompetent than from
the machinations of the wicked."  - from Slashdot

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux