betterC question

Dibyendu Majumdar d.majumdar at gmail.com
Thu Nov 19 00:11:04 UTC 2020


On Thursday, 19 November 2020 at 00:08:59 UTC, Adam D. Ruppe 
wrote:
> On Thursday, 19 November 2020 at 00:07:12 UTC, Dibyendu 
> Majumdar wrote:
>> int function() fp = test;
>
> This tries to *call* the function test and assign its return 
> value to fp.
>

Really? why does it do that?

> You want &test to get the address.




More information about the Digitalmars-d-learn mailing list