From: tmoran@acm.org
Subject: Re: Calling through function pointer--syntax question
Date: Tue, 05 Jun 2001 19:39:32 GMT
Date: 2001-06-05T19:39:32+00:00 [thread overview]
Message-ID: <UzaT6.65786$%i7.49756743@news1.rdc1.sfba.home.com> (raw)
In-Reply-To: 9fj5nm$sg0$1@news.netmar.com
> P (func (5)); -- IS THIS AMBIGUOUS?
It looks quite clear to me. func(5) should print
func parameter is 5
and return a func_ptr, namely func1'access. Then P(func_ptr) should print
P with function parameter called
Indeed, when I compile and execute that's what I get. Why did you worry?
next prev parent reply other threads:[~2001-06-05 19:39 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-06-05 17:43 Calling through function pointer--syntax question adam
2001-06-05 19:39 ` tmoran [this message]
2001-06-06 16:17 ` Adam Beneschan
2001-06-06 16:00 ` Tucker Taft
2001-06-06 22:06 ` Adam Beneschan
2001-06-07 1:22 ` Jeffrey Carter
2001-06-08 21:34 ` Adam Beneschan
2001-06-09 6:29 ` Simon Wright
2001-06-11 13:08 ` Philip Anderson
2001-06-11 17:34 ` Tucker Taft
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox